阅读:2199回复:1
请教关于:'C:\WINDOWS\system32\ntdll.dll', No symbols loaded等问题
用的是〈WindowsWDM设备驱动程序开发指南〉& 光盘内容最开始的一个例子Wdm1
我在编译好文件,手动安装好驱动后,在VS2005下运行测试程序,编译能通过,运行时 结果出来一堆东西(然后会打不开设备): 'Wdm1Test.exe': Loaded 'D:\WINDDK\2600.1106\WDMBook\wdm1\exe\Debug\Wdm1Test.exe', Symbols loaded. 'Wdm1Test.exe': Loaded 'C:\WINDOWS\system32\ntdll.dll', No symbols loaded. 'Wdm1Test.exe': Loaded 'C:\WINDOWS\system32\kernel32.dll', No symbols loaded. 'Wdm1Test.exe': Loaded 'C:\WINDOWS\system32\setupapi.dll', No symbols loaded. 'Wdm1Test.exe': Loaded 'C:\WINDOWS\system32\msvcrt.dll', No symbols loaded. 'Wdm1Test.exe': Loaded 'C:\WINDOWS\system32\advapi32.dll', No symbols loaded. 'Wdm1Test.exe': Loaded 'C:\WINDOWS\system32\rpcrt4.dll', No symbols loaded. 'Wdm1Test.exe': Loaded 'C:\WINDOWS\system32\gdi32.dll', No symbols loaded. 'Wdm1Test.exe': Loaded 'C:\WINDOWS\system32\user32.dll', No symbols loaded. 'Wdm1Test.exe': Loaded 'C:\WINDOWS\system32\imm32.dll', No symbols loaded. 'Wdm1Test.exe': Loaded 'C:\WINDOWS\system32\lpk.dll', No symbols loaded. 'Wdm1Test.exe': Loaded 'C:\WINDOWS\system32\usp10.dll', No symbols loaded. 'Wdm1Test.exe': Loaded 'C:\WINDOWS\system32\apphelp.dll', No symbols loaded. 'Wdm1Test.exe': Loaded 'C:\WINDOWS\system32\version.dll', No symbols loaded. 'Wdm1Test.exe': Loaded 'C:\WINDOWS\system32\wintrust.dll', No symbols loaded. 'Wdm1Test.exe': Loaded 'C:\WINDOWS\system32\crypt32.dll', No symbols loaded. 'Wdm1Test.exe': Loaded 'C:\WINDOWS\system32\msasn1.dll', No symbols loaded. 'Wdm1Test.exe': Loaded 'C:\WINDOWS\system32\imagehlp.dll', No symbols loaded. The thread 'Win32 Thread' (0xc14) has exited with code 1 (0x1). The program '[3116] Wdm1Test.exe: Native' has exited with code 1 (0x1). 不明白是什么问题 看了下'C:\WINDOWS\system32\ntdll.dll'的文件是存在的,网上搜了下没找到针对的解决方案 不知道咋回事了。 大伙帮帮小弟,谢过先 |
|
沙发#
发布于:2008-07-31 16:55
知道是怎么回事了,GUIDs.h的值改回原来的就可以了
但是这样又有一个问题:用guiden产生guid,然后再重新编译安装驱动程序,为啥测试的时候打开不了设备呢(HANDLE hWdm1 = GetDeviceViaInterface((LPGUID)&WDM1_GUID,0);,这样打开的)。 |
|