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

工程(Project)->属性(Properties)->配置属性(Configuration Properties)->c/c++->代码生成(Code Generation)->运行时库(Use run-time library)->多线程调试DLL(/MDd)(Multithreaded DLL/Debug Multithreaded DLL)。有时候需要改成其它的,再改回多线程调试DLL

你可能感兴趣的:(IntelliSense: #error 指令: Please use the /MD switch for _AFXDLL builds)