阅读:1446回复:4
为什么总是出现如下的错误:error C2065: \'FILE_DEVICE_SECURE_OPEN\' : undeclared identifier
?/
|
|
沙发#
发布于:2003-03-19 14:56
Specify the FILE_DEVICE_SECURE_OPEN characteristic on the call to IoCreateDevice. This characteristic is supported on Windows NT? 4.0 SP5 and later.
IoCreateDevice的说明里就有提到。在NTDDK.H里也有定义:#define FILE_DEVICE_SECURE_OPEN 0x00000100 |
|
|
板凳#
发布于:2003-03-19 17:37
Specify the FILE_DEVICE_SECURE_OPEN characteristic on the call to IoCreateDevice. This characteristic is supported on Windows NT? 4.0 SP5 and later. 非常感谢你的回复,你的意思是不是要安装ddk2k,还是要在win2k下编译此程序? |
|
地板#
发布于:2003-03-20 16:35
请问什么是Windows NT? 4.0 SP5,谢谢
我觉得问题好象不是因为缺少头文件吧?? |
|
地下室#
发布于:2003-03-24 14:06
很明白,编译器说你未定义。你自己定义一下试试。不用换什么ddk。
|
|
|