急救:VC6出错!!!
不知怎么搞的,我的VC6只要加<windows.h>或<Mmsystem.h>者两个头文件时就出错。
错误如下:
c:\microsoft visual studio\vc98\include\mmsystem.h(113) : error C2146: syntax error : missing ';' before identifier 'MMVERSION'
c:\microsoft visual studio\vc98\include\mmsystem.h(113) : fatal error C1004: unexpected end of file found
或者
c:\microsoft visual studio\vc98\include\winnt.h(1092) : error C2146: syntax error : missing ';' before identifier 'KSPIN_LOCK'
c:\microsoft visual studio\vc98\include\winnt.h(1092) : fatal error C1004: unexpected end of file found
我原以为是我不小心改动了<winnt.h>,于是我用光盘里面的把它替换了,没想到还没用。想尽办法都不奏效,于是我重装了VC,结果依然出错。
急!!!
感激不尽