WDK无法正常运行示例\src\serial \ VirtualSerial [英] WDK not working sample \src\serial\VirtualSerial

查看:76
本文介绍了WDK无法正常运行示例\src\serial \ VirtualSerial的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好。

我下载并安装了
最新的
WDK。

I downloaded and installed the latest WDK.

 

接下来,我 尝试 构建 示例:

c:\ WinDDK \ _7600.16385.1 \ src \ serial \\ \\ VirtualSerial \

as
说明:C:/WinDDK/7600.16385.1/src/serial/VirtualSerial/virtualserial.htm

as stated in the instructions: C:/WinDDK/7600.16385.1/src/serial/VirtualSerial/virtualserial.htm

驱动程序已构建,我将其安装在系统中。

在设备管理器中出现了一个新设备:

Microsoft VirtualSerial用户模式设备示例(COM5)

但是, 那里 出现
黄色图标 (!),
表示:

But, there appeared with a yellow icon (!), which means:

设备状态:此设备无法启动。 (代码10)

Device status: This device cannot start. (Code 10)

我编译了
Win7x64 的驱动程序,所有 最新更新,调用

构建环境:

开始 - > Windows驱动程序套件 - > WDK 7600.16385.1->构建环境 - > Windows 7-> ; x64免费构建环境

请告诉我, 问题是什么

Tell me please, what's the problem?



---

Denis

推荐答案

你签了司机吗?必须使用bcdedit或启动菜单对64位驱动程序进行签名或禁用签名。你有连接WinDbg吗?它是否在驱动程序中找到DriverEntry?如果不是为什么不呢?如果没有运行内核
调试器,你期望如何调试内核代码?
Did you sign the driver? 64 bit drivers MUST be signed, or signing disabled using bcdedit or at the boot menu. Do you have WinDbg connected? Does it get to DriverEntry in the driver? If not why not? How do you expect to debug kernel code without the kernel debugger running?


这篇关于WDK无法正常运行示例\src\serial \ VirtualSerial的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆