VC6 的编译问题

finderror 2002-12-02 03:08:06
下面是我编译一个标准文件时得到的错误信息,请指教
c:\program files\microsoft visual studio\vc98\include\winnt.h(151) : error C2146: syntax error : missing ';' before identifier 'WCHAR'
c:\program files\microsoft visual studio\vc98\include\winnt.h(151) : fatal error C1004: unexpected end of file found
Error executing cl.exe.

...全文
26 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
finderror 2002-12-03
  • 打赏
  • 举报
回复
我只有两个头文件
#include "stdafx.h"
#include "winnt.h"

我试过wwwqqq 老兄的方法
不过好象没有什么效果

大家帮忙在想想办法?
多谢了
wwwqqq 2002-12-02
  • 打赏
  • 举报
回复
把此文件的Precomplied headers设为Automatic use of Preocmplied headers试试!!
zhaolaoxin 2002-12-02
  • 打赏
  • 举报
回复
某个头文件不对,或头文件的顺序不对。

2,641

社区成员

发帖
与我相关
我的任务
社区描述
VC/MFC 硬件/系统
社区管理员
  • 硬件/系统社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧