c++ - #error WINDOWS.H 已包含在内。 MFC 应用程序不得#include <windows.h>

标签 c++ windows mfc

我收到 #error WINDOWS.H 已包含在内。 MFC 应用程序不得#include windows.h 但我不知道我怎么知道这是因为哪个文件发生的

谢谢

最佳答案

更改包含顺序,并在其他之前包含 afx < headers >

关于c++ - #error WINDOWS.H 已包含在内。 MFC 应用程序不得#include <windows.h>,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1017814/

相关文章:

c++ - 检测是否有qws服务器在运行

c++ - 检查传递的类型接口(interface)

c++ - Qt,CodeBlocks minGW 问题与依赖关系

c++ - C中有许多进程的文件打开问题

c++ - C++程序中的变量名存放在哪里?

windows - Windows 中的 cwrsync 未被识别

python - 文件上传问题 - Python-WIndows-CheryyPy

c++ - CreateCompatibleBitmap 在 Windows Mobile 6 上失败

c++ - MFC中如何将BYTE数组转换为CString?

c++ - "CoInitialize failed"当一个函数(来自库)包含在 VC++ MFC 项目中时