提示windows.h头文件重复包含 MFC工程自动包含了头文件windows.h 在你的MFC工程中 把所有的#include<window.h>语句删除即可

这一步还不够,因为想在main函数下使用MFC中的TRACE( ),就必须:

打开project->settings->general->microsoft foundation classes->
选use MFC in a static library
或选 use MFC in a shared DLL(需要把MFC的动态库放在system32文件夹下) .

相关文章:

  • 2021-09-11
  • 2021-09-07
  • 2021-05-03
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-05
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-07
  • 2022-12-23
  • 2022-12-23
  • 2021-06-15
相关资源
相似解决方案