fatal error C1189: #error : Building MFC application with /MD[d] (CRT dll version) requires MF
解决办法:项目点击右键,属性->配置属性->常规->项目默认值,选择“在静态库中使用MFC”. 接着编译后出现:错误 1 fatalerrorC1189:#error: WINDOWS.Halreadyincluded. MFCappsmustnot#include c:\programfiles\microsoftvisualstudio9.0\vc\atlmfc\include\afxv_w3