编译器错误信息 [英] compiler error message

查看:73
本文介绍了编译器错误信息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

D:\new\VC98\MFC\INCLUDE\afxv_w32.h(14) : fatal error C1189: #error :  WINDOWS.H already included.  MFC apps must not #include <windows.h>




我的英语不是很好,所以我们不能做更多的描述

以上是错误信息

请帮助我,

谢谢!

我使用vc ++ 6.0

创建项目(Win32 Appliction)->一个简单的应用

->手动添加对话框资源

但编译错误

这是MFC应用程序吗?

请告诉我!谢谢!

我将通过IllusionWing上传文件,GIFIframe

下载文件链接:
下载地址1
下载地址2

sos ...




My English is not very good,So we can''t do more description

The above is error information

please help me,

thanks!

I use vc + + 6.0

Create project (Win32 Appliction) -> a simple appliction

->Manually add dialog resources

but compile error

This is MFC application?

Please Tell Me! thanks!

I will upload the file,GIFIframe by IllusionWing

download file link:
download address 1
download address 2

sos...

推荐答案

根据您描述的步骤,我认为您的应用程序不是MFC应用程序.但是,它以某种方式包含了afxv_w32.h头文件,该文件是MFC库的一部分.
您可能会丢弃这样的头文件(除非您确实需要MFC).
From the steps you depicted I suppose your application is NOT a MFC one. However it somehow includes the afxv_w32.h header file which is part of the MFC library.
You migh discard such a header file (unless you really need MFC).


在MFC应用程序中不要#include <windows.h>.
Do not #include <windows.h> in MFC applications.


这篇关于编译器错误信息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆