fatal error C1189: #error : Building MFC application with /MD[d] (CRT dll version) requires MFC shar

来源:互联网 发布:js鼠标移动轨迹 编辑:程序博客网 时间:2024/06/16 14:16
转自:http://blog.163.com/qingbo0506@126/blog/static/16633054220112288310714/
#error   :     Building   MFC   application   with   /MD[d]   (CRT   dll   version)   requires   MFC   shared   dll   version.   Please   #define   _AFXDLL   or   do   not   use   /MD[d] 

使用多线程动态连接运行时库的MFC程序,   需要使用MFC动态连接库. 
改工程设置: 
Project|Properties|Configuration   Properties|General|Use   of   MFC   :   Use   MFC   in   a 
Shared   DLL 
0 0