错误在NTDDK.H中了
--------------------Configuration: Minimal - Win32 Debug--------------------
Compiling...
Driver.cpp
E:\NTDDK\INC\DDK\NTDDK.h(370) : error C2146: syntax error : missing ';' before identifier 'Lock'
E:\NTDDK\INC\DDK\NTDDK.h(370) : error C2501: 'PULONG_PTR' : missing storage-class or type specifiers
E:\NTDDK\INC\DDK\NTDDK.h(370) : error C2501: 'Lock' : missing storage-class or type specifiers
E:\NTDDK\INC\DDK\NTDDK.h(824) : error C2146: syntax error : missing ';' before identifier 'KSPIN_LOCK'
E:\NTDDK\INC\DDK\NTDDK.h(824) : fatal error C1004: unexpected end of file found
Unicode.cpp
E:\NTDDK\INC\DDK\NTDDK.h(370) : error C2146: syntax error : missing ';' before identifier 'Lock'
E:\NTDDK\INC\DDK\NTDDK.h(370) : error C2501: 'PULONG_PTR' : missing storage-class or type specifiers
E:\NTDDK\INC\DDK\NTDDK.h(370) : error C2501: 'Lock' : missing storage-class or type specifiers
E:\NTDDK\INC\DDK\NTDDK.h(824) : error C2146: syntax error : missing ';' before identifier 'KSPIN_LOCK'
E:\NTDDK\INC\DDK\NTDDK.h(824) : fatal error C1004: unexpected end of file found
Error executing cl.exe.Minimal.SYS - 10 error(s), 0 warning(s)
这样解决??
--------------------Configuration: Minimal - Win32 Debug--------------------
Compiling...
Driver.cpp
E:\NTDDK\INC\DDK\NTDDK.h(370) : error C2146: syntax error : missing ';' before identifier 'Lock'
E:\NTDDK\INC\DDK\NTDDK.h(370) : error C2501: 'PULONG_PTR' : missing storage-class or type specifiers
E:\NTDDK\INC\DDK\NTDDK.h(370) : error C2501: 'Lock' : missing storage-class or type specifiers
E:\NTDDK\INC\DDK\NTDDK.h(824) : error C2146: syntax error : missing ';' before identifier 'KSPIN_LOCK'
E:\NTDDK\INC\DDK\NTDDK.h(824) : fatal error C1004: unexpected end of file found
Unicode.cpp
E:\NTDDK\INC\DDK\NTDDK.h(370) : error C2146: syntax error : missing ';' before identifier 'Lock'
E:\NTDDK\INC\DDK\NTDDK.h(370) : error C2501: 'PULONG_PTR' : missing storage-class or type specifiers
E:\NTDDK\INC\DDK\NTDDK.h(370) : error C2501: 'Lock' : missing storage-class or type specifiers
E:\NTDDK\INC\DDK\NTDDK.h(824) : error C2146: syntax error : missing ';' before identifier 'KSPIN_LOCK'
E:\NTDDK\INC\DDK\NTDDK.h(824) : fatal error C1004: unexpected end of file found
Error executing cl.exe.Minimal.SYS - 10 error(s), 0 warning(s)
这样解决??
解决方案 »
- 累了烦了~ 散份~
- SPI通信怎么做?
- 如何在处理消息时获得控件ID?
- 简单问题,高分求助!
- 请教G729A压缩算法 中 解压缩函数中最后一参数的作用
- 做了个IE ocx 需要 MFC42.DLL, MSVCRT.DLL ,... 那些需要打到 CAB 中?
- 获得文件的路经与文件名
- 高手??帮忙!!!简单,来者给分,在线结贴!!
- 在View类中如何调用Dlg类中的成员变量?
- 超级菜鸟问题,如何实现定时功能,就象delphi中的TTimer一样,(TMD,太丢人了,可是我实在不知道怎么办)
- 高分求救, 哪里可以下载低版本VC,(VC5.0或VC4.2), 在线等待
- ActiveX加载在浏览器中读取本地文件,为什么有的机器可以,有的不可以?
你是不是写了PULONG_PTR lock?
你想办法找到头文件中中有
typedef PULONG_PTR....
的句子将它抄过来或者将头文件包含过来