vc2010怎么老有#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)
转载于:https://blog.51cto.com/huaqiang/908074