本文介绍了调试WFP标注驱动程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 29岁程序员,3月因学历无情被辞! 为重复的帖子道歉,但这似乎是更合适的论坛 http://code.msdn.microsoft.com/windowshardware/Windows-Filtering-Platform-16e9937e/view/Discussions#5217 我是驱动程序工具包的新手,我正在试图找出调试WFP标注驱动程序的工作流程,特别是ddproxy示例。我在Win2012机器上的VS2012上,我已经配置了另一个Win8根据我发现的指令,机器成为调试目标。但是,我没有找到"启用部署"的选项。 "驱动程序安装"项目属性中的项目仅显示"包文件";和"KDFiles"。 我的调试器设置为"Windows调试工具 - 内核调试器"。它失败并显示以下消息。 "驱动程序测试 - 在解决方案中部署驱动程序时出错。系统找不到指定的文件"。"。$ 我显然做了一些完全错误的事情。是否有关于如何调试callout驱动程序的单独说明?我本来应该在本地机器上进行部署和调试吗? 谢谢!解决方案 我们通常使用KD.exe来调试驱动程序。 在调试方面,标注驱动程序与任何其他驱动程序没有什么不同。 但是,您必须将它们安装在系统上并加载。 这可以通过inf或使用Driver Package Installer来完成(http://msdn.microsoft.com/en-us/library/windows/hardware/ff544842(v = vs.85).aspx) 希望这有帮助, Apologies for the duplicate post but this seems to be the more appropriate forumhttp://code.msdn.microsoft.com/windowshardware/Windows-Filtering-Platform-16e9937e/view/Discussions#5217I'm new to the driver kit and am trying to figure out the workflow to debug WFP callout drivers, specifically the ddproxy sample. I am on VS2012 on a Win8 machine and I have provisioned another Win8 machine to be the debugging target as per the instructions I've found. However I'm not finding an option to "Enable deployment". The "Driver Install" item in project properties only shows "Package Files" and "KDFiles".My debugger is set to "Debugging Tools For Windows - Kernel Debugger". And it fails with the following message."Driver Testing - An error occured deploying the driver(s) in the solution. The system cannot find the file specified".I'm obviously doing something completely wrong. Is there a seperate set of instructions on how debug callout drivers? Am I supposed to be deploying and debugging on the local machine?Thanks! 解决方案 We normally use KD.exe to debug drivers.  Callout drivers are no different than any other driver in regards to debugging.  You do however have to get them installed on the system and loaded.  this can be done through an inf or using the Driver Package Installer (http://msdn.microsoft.com/en-us/library/windows/hardware/ff544842(v=vs.85).aspx)Hope this helps, 这篇关于调试WFP标注驱动程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云!
08-13 11:53