Building MFC application with /MD[d] (CRT dll version)requires MFC shared dll version
解决:选择“在共享 DLL 中使用 MFC”。
3、问题3
fatal error C1083: Cannot open include file: 'afxcontrolbars.h': No such file or directory
问题2把#include <afxcontrolbars.h>注释或删除掉,后面加一行
#define CWinAppEx CWinApp就可以解决了