如果出现#error : Building MFC application with /MD[d] (CRT dll version) requires MFC shared dll version. Please #define _AFXDLL or do not use /MD[d]
解决方案:打开“项目->XX属性->常规->MFC的使用”,设置为:在共享 DLL 中使用 MFC。
解决方案:打开“项目->XX属性->常规->MFC的使用”,设置为:在共享 DLL 中使用 MFC。