We recently moved to VS2015 with the 10586 Win10 WDK. Our driver that used to load in Windows 8.1 no longer gets loaded at all. Not a crash in driver, loading is never attempted (have system set to break into debugger when UMDF drivers load.)
It appears that this may be an issue with dependencies. Dependency Walker shows, for example, that API-MS-WIN-CORE-SYNCH-L1-2-1.DLL is missing. (We have KB2999226 installed, but it does not cover this driver.)
The redistributables provided with the Win10 WDK include the 2.0 version of the file, but not the 2.1.
We have the target driver in VS set as 8.1, but the main project only allows the “Target Platform” to be Windows 10 in the “General” settings. It is unclear how to target this to both 8.1 and beyond.
Does anyone know how to do this?
I’m using the same development platform and just target 8.1 and assumed, maybe wrongfully, that it was 8.1 and above. My drivers load in Windows 10, but they are also signed by Microsoft. You’d didn’t mention if your signing them through Microsoft or not. They also work in 8.0 and 8.1.
-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of xxxxx@intel.com
Sent: Friday, July 01, 2016 1:59 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] UMDF 2.0 Driver build with VS2015 and Win10 WDK does not work in Windows 8.1
We recently moved to VS2015 with the 10586 Win10 WDK. Our driver that used to load in Windows 8.1 no longer gets loaded at all. Not a crash in driver, loading is never attempted (have system set to break into debugger when UMDF drivers load.)
It appears that this may be an issue with dependencies. Dependency Walker shows, for example, that API-MS-WIN-CORE-SYNCH-L1-2-1.DLL is missing. (We have KB2999226 installed, but it does not cover this driver.)
The redistributables provided with the Win10 WDK include the 2.0 version of the file, but not the 2.1.
We have the target driver in VS set as 8.1, but the main project only allows the “Target Platform” to be Windows 10 in the “General” settings. It is unclear how to target this to both 8.1 and beyond.
Does anyone know how to do this?
NTDEV is sponsored by OSR
Visit the list online at: http:
MONTHLY seminars on crash dump analysis, WDF, Windows internals and software drivers!
Details at http:
To unsubscribe, visit the List Server section of OSR Online at http:</http:></http:></http:>
How are you targeting for 8.1? I have done the same in the driver “Target OS Version” of the “Driver Settings” properties.
I found that there are no issues until I reference certain functions, such as CreateSemaphore, that pull in the libraries in question. These libraries are referenced but not provided as redistributables.
There should be no issue with signing as I have a debugger attached which causes the signing checks to be bypassed anyway.