spiritonly
驱动牛犊
驱动牛犊
  • 注册日期2007-03-02
  • 最后登录2007-03-17
  • 粉丝0
  • 关注0
  • 积分80分
  • 威望9点
  • 贡献值0点
  • 好评度8点
  • 原创分0分
  • 专家分0分
阅读:1462回复:1

库编译好了,怎么编译hellowdm后没有*.sys文件生成啊

楼主#
更多 发布于:2007-03-11 13:26
有没有大侠帮助解决

问题如下:

先装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文件生成?

请问有人知道为什么吗?
xuyatian
驱动牛犊
驱动牛犊
  • 注册日期2007-02-01
  • 最后登录2011-03-18
  • 粉丝0
  • 关注0
  • 积分170分
  • 威望18点
  • 贡献值0点
  • 好评度17点
  • 原创分0分
  • 专家分0分
沙发#
发布于:2007-03-22 11:01
我和这种情况类似!!
只是我先装的vc然后ddk最后ds
期待。看了一些帖子还是没能解决.
游客

返回顶部