error C1189: #error : Building MFC application with /MD[d] (CRT dll version) requires MFC shared dll version. Please #define _AFXDLL or do not use /MD[d]

今天在开发过程中遇到了C1189 error。找了好久解决办法,最后自己解决了......

方法:工程右键->属性

 

 

编辑预处理器定义:

再次运行,就解决了。

 

posted @ 2019-04-02 20:58  yocichen  阅读(1204)  评论(0编辑  收藏  举报