This is for a PCIe device. Also tried Server 2008 SP 1 WDK, but same result. Driver has yellow bang, and shows Code 37 in device manager. It never even calls my DriverEntry. But when I compile with the older WDK it loads fine. Would appreciate some pointers on how to figure out what is causing this problem.
Diane
On what OS will the driver not load? Are you referencing the WDF coinstaller in your INF to make sure that the right version of WDF is installed?
d
-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of xxxxx@earthlink.net
Sent: Monday, January 12, 2009 10:42 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] WDF driver will not load if compiled with Server 2008 WDK
This is for a PCIe device. Also tried Server 2008 SP 1 WDK, but same result. Driver has yellow bang, and shows Code 37 in device manager. It never even calls my DriverEntry. But when I compile with the older WDK it loads fine. Would appreciate some pointers on how to figure out what is causing this problem.
Diane
NTDEV is sponsored by OSR
For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars
To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer
I am compiling for XP, and currently testing on XP also. >= XP is my target. Am using the co-installers from Vista WDK, since they are not included with Server 2008. Here is a little snippet from the .inf:
[CoInstaller_CopyFiles]
wdfcoinstaller01005.dll
[SourceDisksFiles]
wdfcoinstaller01005.dll = 1 ; make sure the number matches with SourceDisksNames
[CoInstaller_AddReg]
HKR,CoInstallers32,0x00010000, “wdfcoinstaller01005.dll,WdfCoInstaller”
Inst.NT.Wdf]
KmdfService = , wdfsect
wdfsect]
KmdfLibraryVersion = 1.5
I just updated the .inf to use lib version 1.7, and the new coinstaller from the Server 2008 SP1, and it worked. I guess the new WDK only supports version 1.7, although this did not seem clear to me, especially since the readme in the redist directory said to use the old coinstallers until an update was available.
Diane
So everything is now resolved?
-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of xxxxx@earthlink.net
Sent: Monday, January 12, 2009 12:03 PM
To: Windows System Software Devs Interest List
Subject: RE:[ntdev] WDF driver will not load if compiled with Server 2008 WDK
I just updated the .inf to use lib version 1.7, and the new coinstaller from the Server 2008 SP1, and it worked. I guess the new WDK only supports version 1.7, although this did not seem clear to me, especially since the readme in the redist directory said to use the old coinstallers until an update was available.
Diane
NTDEV is sponsored by OSR
For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars
To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer