阅读:2553回复:5
请问为什么我在DriverMonitor中看不到我用DbgPrint输出的信息?
DbgPrint("DriverEntry");
我看到DriverMonitor的文档中指明的是DbgPrint,不知道为什么不行,请大侠指导一下. |
|
|
沙发#
发布于:2004-12-10 22:17
你在头文件里有没有对DbgPrint从新DEFINE过.....
|
|
|
板凳#
发布于:2004-12-11 09:32
没有啊,我就包含了
#ifdef __cplusplus extern "C" { #endif #include "wdm.h" #ifdef __cplusplus } #endif #include "initguid.h" 这两个头文件 |
|
|
地板#
发布于:2004-12-11 09:47
关闭重新打开试试,有时会提示default不能加载,那就不行了。
|
|
地下室#
发布于:2004-12-11 11:59
不知道是不是我操作DriverMonitor错误
我已经安装了驱动,打开DriverMonitor时,显示 Monitor Driver path set to d:\windows\system32\drivers\firstwdmdriver.sys Monitor Using existing service database entry for driver. Monitor The driver has already been started. 当我start时:并且也不能stop Monitor The driver is already running. Monitor ERROR (1052): The driver is not in a state to accept this command. |
|
|
5楼#
发布于:2004-12-11 17:42
但是却可以在DbgView中能够看到调试信息
|
|
|