VC6.0
错误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”
VS 2010:
错误3:Please use the /MD switch for _AFXDLL builds
改正方法:点项目右键->属性->配置属性->C/C++->代码生成>运行库->选中Multithreaded DLL或Debug Multithreaded DLL