Thanks again, Doron. As soon as I get to the Office on Monday morning I’ll load v1.5. Much appreciated, specially your very quick answers!
Alberto.
----- Original Message -----
From: Doron Holan
To: Windows System Software Devs Interest List
Sent: Saturday, November 03, 2007 11:16 AM
Subject: RE: [ntdev] Code 37
The 6001 WDK ships with KMDF v1.7. vista contains v1.5. the required runtime version is embedded in your driver so when you try to load a v1.7 driver on a system with v1.5, it fails. The KMDF coinstaller fixes this by installing the required runtime for you during installation. Right now the v1.7 coinstaller that ships in the 6001 wdk does not install on vista or previous OS’s (which is what I meant by downlevel). By building in the 6000 wdk you get v1.5 and a coinstaller that does install on Vista and previous releases.
d
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of Alberto Moreira
Sent: Saturday, November 03, 2007 6:25 AM
To: Windows System Software Devs Interest List
Subject: Re: [ntdev] Code 37
Thanks, Doron! I took a closer look, and here’s what I found.
I get control at FxDriverEntry ok. However, after a while it calls WdfVersionBind in the WDFLDR.SYS driver. That entry point returns a C0000024 status. That eventually leads IopLoadDriver to return a C0000365 status, which eventually is converted to code 37.
Also, I’m not sure I quite undertand what you said, what do you mean by “install down level” ?
And here’s a suggestion. Would it be too hard to percolate up these statuses (and other such) into some kind of “Expert Diagnostics” button in the Install Wizard ? They might save a lot of debugging time!
Alberto.
----- Original Message -----
From: Doron Holan
To: Windows System Software Devs Interest List
Sent: Thursday, November 01, 2007 11:07 PM
Subject: RE: [ntdev] Code 37
The 6001 wdk ships with kmdf 1.7, the co installer that it ships with does not install down level. Use the 6000 wdk and all will be well. d Sent using my smartphone, apologies forany typos -----Original Message-----From: “Alberto Moreira” To: “Windows System Software Devs Interest List” Sent: 11/01/07 7:19 PMSubject: Re: [ntdev] Code 37 Hi, Doron,
This is the 6001 WDK on a Vista Target. I do not get the breakpoint I put in my DriverEntry, I’ll try FxDriverEntry and see what’s happening. Thanks!
Alberto.
----- Original Message -----
From: Doron Holan
To: Windows System Software Devs Interest List
Sent: Wednesday, October 31, 2007 10:55 PM
Subject: RE: [ntdev] Code 37
What WDK did you build your driver in? in the 6001 WDK or the Vista 6000 WDK? But a breakpoint on !FxDriverEntry and see if that is called. If it does, that would rule out unresolved exports. If the bp is not hit, I would guess an unresolved import is preventing your driver from loading.
d
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of Alberto Moreira
Sent: Wednesday, October 31, 2007 6:02 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] Code 37
Hello, Peoples,
I have an easy problem but somehow I’m not finding its origin. I have converted my driver to WDF, and I’m trying to install it on Vista, so that I can break at the DriverEntry routine and begin testing it. I took my old and tried .INF routine and just added the WDF lines (straight from the Toaster Function Drive example), and guess what, I’m being bounced by the Installer with a Code 37: the driver’s not installed, and my DriverEntry breakpoint never triggers. I got to a point where the service entries in the Registry are identical for the old and for the new driver (I’m using different names for them so that I can have both entries in the hive), and yet the old one installs fine, while the new one barfs.
I don’t have any experience with WDF, this is my first time. Do any of you have experience with that Code 37 ? Tks,
Alberto.
—
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
—
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
—
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
—
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
—
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
—
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