fatal error C1189: #error : Building MFC application with /MD[d] (CRT dll version) requires MFC
修改配置属性--》常规---》MFC的使用 在静态库中使用 MFC
调试程序时出现以下问题:d:\program files (x86)\microsoft visual studio 10.0\vc\atlmfc\include\afx.h(24): fatal 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]。
按照提示,作出以下修改: