#AFXDLL

VS错误:#error 指令: Please use the /MD switch for _AFXDLL builds

我在做MFC时遇到过这个问题,解决方法如下:修改设置:工程(Project)->属性(Properties)->配置属性(ConfigurationProperties)->c/c++->代码生成(CodeGeneration)->运行库(Userun-timelibrary)->多...