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。找了好久解决办法,最后自己解决了......

方法:工程右键->属性

 

 

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]

编辑预处理器定义:

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]

再次运行,就解决了。

 

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]

上一篇:LeetCode 448 Find All Numbers Disappeared in an Array 解题报告


下一篇:ios 苹果内购订单验证 --- nodejs实现