如果按以下方法配置都无法在VS2008 看到DDK Project,不用着急,其他不需要修改,重新运行ddkwizard_setup_v1.3.0a.exe就可以了。再打开VS2008新建项目就可以看到DDK Project了。
最近在学习windows内核编程,搭建了XP环境下的VS2008 + WDK +ddkwizard的开发环境。关于这篇文章我不得不说我的学习经历,我将一个完整的驱动程序放在自己的IDE里面编译,很不幸提示错误:
------ 已启动生成:项目: Prot.WXP, 配置: WXP checked (PREfast) Win32------
正在执行生成文件项目操作
OSR DDKBUILD.CMD V7.4/r60 (2009-11-28)- OSR, Open Systems Resources, Inc.
此时不应有D:\WinDDK。
项目 : errorPRJ0002 :错误的结果 255 (从“C:\WINDOWS\System32\cmd.exe”返回)。
生成日志保存在“file://c:\Documentsand Settings\Administrator\桌面\Test\Prot\Prot\BuildLog.htm”
Prot.WXP - 1 个错误,0 个警告