阅读:4808回复:3
应用程序中#include <ntddndis.h>,提示fatal error
C1083: Cannot open include file: 'ntddndis.h': No such file or directory
请问 怎么在vc的工程中 包含'ntddndis.h'这个ddk的头文件啊? |
|
沙发#
发布于:2005-08-01 15:09
vc 找不到这个头文件,你的include路径不对
tools -> options -> directories -> include files把路径加上去 |
|
板凳#
发布于:2005-08-01 16:01
多谢楼上的大哥
不过这次提示: c:\winddk\3790\inc\wnet\ntddndis.h(101) : error C2146: syntax error : missing ';' before identifier 'Offset' c:\winddk\3790\inc\wnet\ntddndis.h(101) : error C2501: 'ULONG_PTR' : missing storage-class or type specifiers c:\winddk\3790\inc\wnet\ntddndis.h(101) : error C2501: 'Offset' : missing storage-class or type specifiers c:\winddk\3790\expassthru\test\stdafx.h(28) : fatal error C1083: Cannot open include file: 'iocommon.h': No such file or directory Error executing cl.exe. |
|
地板#
发布于:2005-08-01 16:03
解决了 把ddk的目录往上调就 可以了
|
|