From: Tom Birrer Tom on 4 Oct 2006 17:10 Hi I'm trying to get the nonPNP sample driver to run and get the following error in the console: C:\WINDDK\WDF\KMDF10\src\kmdf\nonpnp\exe\objchk_wxp_x86\i386>nonpnpapp.exe No version specified. Using default version:01001 Unable to install driver. OpenService failed! Error = 1060 OpenService failed! Error = 1060 Is there a problem with this sample or is the documentation just unclear for getting it to work. Thanks, Tom
From: Maxim S. Shatskih on 4 Oct 2006 19:19 Try grepping WINERROR.H for 1060 -- Maxim Shatskih, Windows DDK MVP StorageCraft Corporation maxim(a)storagecraft.com http://www.storagecraft.com "Tom Birrer" <Tom Birrer(a)discussions.microsoft.com> wrote in message news:C19D1AB6-38E2-4EE1-AE48-FDD699049929(a)microsoft.com... > Hi I'm trying to get the nonPNP sample driver to run and get the following > error in the console: > > C:\WINDDK\WDF\KMDF10\src\kmdf\nonpnp\exe\objchk_wxp_x86\i386>nonpnpapp.exe > No version specified. Using default version:01001 > Unable to install driver. > OpenService failed! Error = 1060 > OpenService failed! Error = 1060 > > Is there a problem with this sample or is the documentation just unclear for > getting it to work. > > Thanks, > Tom
From: Tom Birrer on 5 Oct 2006 13:11 The 1060 error message is "ERROR_SERVICE_DOES NOT_EXIST". I looked at the code some more and found that the failure is actually occuring when doing the WdfPreDeviceInstall. The 1060 errors occur when the code is cleaning up after the failure. It tries to stop the driver and doesn't find the service because it was never started and gets the 1060 error. So this may be realated to the coinstaller. I got the coinstaller from this path: C:\WINDDK\WDF\KMDF10\redist\wdf\x86chk I'm using the XP checked build environment, so I think that's the correct one. Any idea of what I'm running into here? -Tom "Maxim S. Shatskih" wrote: > Try grepping WINERROR.H for 1060 > > -- > Maxim Shatskih, Windows DDK MVP > StorageCraft Corporation > maxim(a)storagecraft.com > http://www.storagecraft.com > > "Tom Birrer" <Tom Birrer(a)discussions.microsoft.com> wrote in message > news:C19D1AB6-38E2-4EE1-AE48-FDD699049929(a)microsoft.com... > > Hi I'm trying to get the nonPNP sample driver to run and get the following > > error in the console: > > > > C:\WINDDK\WDF\KMDF10\src\kmdf\nonpnp\exe\objchk_wxp_x86\i386>nonpnpapp.exe > > No version specified. Using default version:01001 > > Unable to install driver. > > OpenService failed! Error = 1060 > > OpenService failed! Error = 1060 > > > > Is there a problem with this sample or is the documentation just unclear for > > getting it to work. > > > > Thanks, > > Tom > >
From: Eliyas Yakub [MSFT] on 5 Oct 2006 13:38 My guess is that you are using checked build coinstaller on a free build system. That's not supported. Delete %windir%\system32\wdfcoinstaller01001.dll file and try again with the free version of coinstaller from the C:\WINDDK\WDF\KMDF10\redist\wdf\x86fre directory. http://www.microsoft.com/whdc/driver/tips/KMDF_install.mspx -- -Eliyas This posting is provided "AS IS" with no warranties, and confers no rights. http://www.microsoft.com/whdc/driver/tips/default.mspx
From: Tom Birrer on 5 Oct 2006 13:51 Yep, that was it. Thank you very much. -Tom "Eliyas Yakub [MSFT]" wrote: > My guess is that you are using checked build coinstaller on a free build > system. That's not supported. Delete > %windir%\system32\wdfcoinstaller01001.dll file and try again with the free > version of coinstaller from the C:\WINDDK\WDF\KMDF10\redist\wdf\x86fre > directory. > > > http://www.microsoft.com/whdc/driver/tips/KMDF_install.mspx > > -- > -Eliyas > This posting is provided "AS IS" with no warranties, and confers no rights. > http://www.microsoft.com/whdc/driver/tips/default.mspx > >
|
Pages: 1 Prev: Memory Mapped IO Read Write Next: A sort of "query remove lock"? |