阅读:1523回复:1
库编译好了,怎么编译hellowdm后没有*.sys文件生成啊
有没有大侠帮助解决
问题如下: 先装windows server 2003 DDK 再装VC6.0 再装Driver Studio 3.2 直接打开VC6.0编译库文件,通过编译,无错 打开hellowdm.dsw,编译 Current DDK Directory = D:\WINDDK\3790 Building for i386 ******Configuration: HelloApp - Win32 Debug ************* D:\PROGRA~2\COMPUW~1\DRIVER~1\DRIVER~4\Examples\wdm\hellowdm\exe>call D:\WINDDK\3790\bin\setenv.bat D:\WINDDK\3790 chk WXP D:\PROGRA~2\COMPUW~1\DRIVER~1\DRIVER~4\Examples\wdm\hellowdm\exe>PREfast.exe build -ceZ ----------------------------------------------------------------------------- Microsoft (R) PREfast Version 1.5.2400 for 80x86. Copyright (C) Microsoft Corporation. All rights reserved. ----------------------------------------------------------------------------- BUILD: Adding /Y to COPYCMD so xcopy ops won't hang. BUILD: Object root set to: ==> objchk_wxp_x86 BUILD: Compile and Link for i386 BUILD: Examining d:\progra~2\compuw~1\driver~1\driver~4\examples\wdm\hellowdm\exe directory for files to compile. d:\progra~2\compuw~1\driver~1\driver~4\examples\wdm\hellowdm\exe BUILD: Compiling d:\progra~2\compuw~1\driver~1\driver~4\examples\wdm\hellowdm\exe directory Compiling - openbyintf.cpp for i386 Compiling - helloapp.cpp for i386 Compiling - openbyintf.cpp for i386 Compiling - helloapp.cpp for i386 Compiling - generating code... for i386 Building Browse File - generating code... for all platforms BUILD: Linking d:\progra~2\compuw~1\driver~1\driver~4\examples\wdm\hellowdm\exe directory Linking Executable - objchk_wxp_x86\i386\helloapp.exe for i386 BUILD: Done 5 files compiled - 1 Warning 1 executable built 1 browse database built ----------------------------------------------------------------------------- Removing duplicate defects from the log... ----------------------------------------------------------------------------- No defects were detected during execution of the command. ----------------------------------------------------------------------------- ----------------------------------------------------------------------------- Microsoft (R) PREfast Version 1.5.2400 for 80x86. Copyright (C) Microsoft Corporation. All rights reserved. ----------------------------------------------------------------------------- Contents of defect log: D:\WINDDK\3790\bin\x86\prefast\defects.xml ----------------------------------------------------------------------------- ----------------------------------------------------------------------------- 0 of 0 Defects Listed Filter in effect: Recommended Filters ----------------------------------------------------------------------------- You can change the filter and sort options from the user interface. Enter PREFAST VIEW to display the defect log user interface. Tool returned code: 0 结果如上,可是没有*.sys文件生成? 请问有人知道为什么吗? |
|
沙发#
发布于:2007-03-22 11:01
我和这种情况类似!!
只是我先装的vc然后ddk最后ds 期待。看了一些帖子还是没能解决. |
|