阅读:1467回复:3
wowocock请进
我用DriverStudio的工具Source to Dsp converter把filespy 的sources文件转化成.dsw文件,然后用VC编译,结果报出一大堆错。请
大侠指点,感激万分!!!!! 是我环境变量设错了吗?但是我直接用Source to Dsp converter编译 也不行呀。 编译.sys文件的错如下: :\Program Files\WINDDK\2462\inc\ifs\ntifs.h(2603) : error C2054: expected '(' to follow 'FORCEINLINE' D:\Program Files\WINDDK\2462\inc\ifs\ntifs.h(2606) : error C2085: 'QueryDepthSList' : not in formal parameter list D:\Program Files\WINDDK\2462\inc\ifs\ntifs.h(2606) : error C2143: syntax error : missing ';' before '{' 编译.exe文件的错如下: D:\Documents and Settings\JuncaoLi\桌面\filter\filespy\user\fspyUser.c(70) : error C2065: 'SERVICE_STATUS_PROCESS' : undeclared identifier D:\Documents and Settings\JuncaoLi\桌面\filter\filespy\user\fspyUser.c(70) : error C2146: syntax error : missing ';' before identifier 'serviceInfo' D:\Documents and Settings\JuncaoLi\桌面\filter\filespy\user\fspyUser.c(70) : error C2065: 'serviceInfo' : undeclared identifier D:\Documents and Settings\JuncaoLi\桌面\filter\filespy\user\fspyUser.c(71) : error C2275: 'DWORD' : illegal use of this type as an expression D:\Program Files\NTDDK\inc\windef.h(141) : see declaration of 'DWORD' D:\Documents and Settings\JuncaoLi\桌面\filter\filespy\user\fspyUser.c(71) : error C2146: syntax error : missing ';' before identifier 'bytesNeeded' D:\Documents and Settings\JuncaoLi\桌面\filter\filespy\user\fspyUser.c(71) : error C2065: 'bytesNeeded' : undeclared identifier D:\Documents and Settings\JuncaoLi\桌面\filter\filespy\user\fspyUser.c(72) : error C2275: 'HANDLE' : illegal use of this type as an expression D:\Program Files\NTDDK\inc\winnt.h(282) : see declaration of 'HANDLE' D:\Documents and Settings\JuncaoLi\桌面\filter\filespy\user\fspyUser.c(72) : error C2146: syntax error : missing ';' before identifier 'hDevice' |
|
沙发#
发布于:2004-03-29 09:16
晕,我没这么做过,我直接把FILESPY的文件加入VC中,用DS的DDK插件直接编译,很方便的,
或者你换个目录测试下,放在桌面的目录,有时候会有问题。 |
|
|
板凳#
发布于:2004-03-29 15:25
我一直没有搞懂为什么要用vc来编译呢?
命令行不是挺好的么。 |
|
|
地板#
发布于:2004-04-06 16:19
从来不用VC的IDE环境编译!
|
|