错误1: unexpected end of file while looking for precompiled header directive 改正方法:工程->设置->C/C++,在分类中选中“预编译的头文件”,然后选中“自动使用预补偿页眉”或“不使用预补偿页眉”
错误2:unresolved external symbol __mbctype或unresolved external symbol ___argc 改正方法:工程->设置->C/C++,在分类中选中“常规”,然后在预处理程序定义下添加“_AFXDLL”
错误3:Please use the /MD switch for _AFXDLL builds 改正方法:工程->设置->C/C++,在分类中选中“Code Generation”,然后在Use run-time library下选中Multithreaded DLL或Debug Multithreaded DLL