VCatlmfcincludeafx.h(24): fatal error C1189: #error: Building MFC application with /MD[d] (CRT dll version) requires MFC shared dll version. Please #define _AFXDLL or do not use /MD[d]

   在查阅相关资料后发现:静态链接mfc库的话,那么运行库也得设置成静态链接。

原文地址:https://www.cnblogs.com/okgogo2000/p/14254030.html