错误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

相关文章:

  • 2021-07-08
  • 2021-10-29
  • 2021-09-10
  • 2022-01-18
  • 2021-08-02
  • 2021-07-04
  • 2021-06-18
猜你喜欢
  • 2021-09-17
  • 2022-01-20
  • 2021-06-26
  • 2022-12-23
  • 2021-05-20
  • 2022-12-23
相关资源
相似解决方案