--------------------Configuration: sdfsf - Win32 Debug--------------------
Compiling...
dfdf.cpp
e:\program files\microsoft visual studio\vc98\include\winnt.h(1092) : error C2146: syntax error : missing ';' before identifier 'KSPIN_LOCK'
e:\program files\microsoft visual studio\vc98\include\winnt.h(1092) : fatal error C1004: unexpected end of file found
Error executing cl.exe.dfdf.obj - 2 error(s), 0 warning(s)
不知道编译器除了什么问题,即使是用系统生成的WIN32程序也会出错。
Compiling...
dfdf.cpp
e:\program files\microsoft visual studio\vc98\include\winnt.h(1092) : error C2146: syntax error : missing ';' before identifier 'KSPIN_LOCK'
e:\program files\microsoft visual studio\vc98\include\winnt.h(1092) : fatal error C1004: unexpected end of file found
Error executing cl.exe.dfdf.obj - 2 error(s), 0 warning(s)
不知道编译器除了什么问题,即使是用系统生成的WIN32程序也会出错。
解决方案 »
- list control控件中中选择性的显示.dat文件中的数据
- 可否将二进制文件写入代码中直接执行
- 谁有《Visual C++ +SQL Server数据库应用系统开发与实例》的光盘??
- 请凡是用C和C++的都进来看看!帮帮忙!
- 怎样实现鼠标停在某个按钮上,出现一个提示信息,显示该按钮的某些属性,功能等.
- 一个VC的应用程序在其他机器上运行完全正常,但在我的机器上运行报错
- Html页面文件中调用OCX控件中带有BSTR参数的函数出错的问题(OCX控件由MFC ActiveX ControlWizard创建)
- ★★★★★ 监视系统 ★★★★★
- rand() % n 随机数的范围是多少?
- COM开发请教
- char类型转换问题
- 急!vs2008 MFC类下定义编辑框对象出错,后改为全局变量又可以,是为什么啊。。。急!
#include <windows.h>int WINAPI WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance, PSTR szCmdLine, int iCmdShow){MessageBox (NULL, TEXT ("Hello, Windows 98!"), TEXT ("HelloMsg"), 0);return 0 ;}
#include <windows.h>int WINAPI WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance, PSTR szCmdLine, int iCmdShow){MessageBox (NULL, TEXT ("Hello, Windows 98!"), TEXT ("HelloMsg"), 0);return 0 ;}
#include <basetsd.h>,
如果没有就添加上.
急 请高手指点!