afxdll专题

1 IntelliSense: #error 指令: Please use the /MD switch for _AFXDLL builds

解决方案: 修改设置: 工程(Project)-> 属性(Properties)-> 配置属性(Configuration Properties)-> c/c++->  代码生成(Code Generation)->运行库(Use run-time library)->多线程调试DLL(/MD)