C++错误
1、IntelliSense: #error 指令: Please use the /MD switch for _AFXDLL builds
由#error引起
解决方法:
修改如下设置:工程(Project)->属性(Properties)->配置属性(Configuration Properties) ->c/c++->代码生成(Code Generation)->运行时库(Use run-time library) ->多线程调试DLL(/MDd) 选择DLL(/MD);
2、IntelliSense: 未定义标识符 "IDD_DIALOG1"
解决办法:
添加#include "Resource.h"