我正在使用Visual Studio 2010在Win32项目上工作,它生成了一个MFC错误,该错误如下所示:
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]
IntelliSense: #error directive: WINDOWS.H already included. MFC apps must not #include
我的问题是为什么Win32项目会生成MFC错误,以及应该如何消除这个错误,请指导。
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]
IntelliSense: #error directive: WINDOWS.H already included. MFC apps must not #include
我的问题是为什么Win32项目会生成MFC错误,以及应该如何消除这个错误,请指导。