From: Aram Hăvărneanu on 5 Dec 2009 05:51 "Max" wrote: > > I had the same problem with the installation of vhidmini. Don't type > the devcon.exe ..... command directly into the command promp, but > instead create a batch file with this command inside and run it, in > this case it worked for me. > . > Same error. -- Aram Hăvărneanu
From: Aram Hăvărneanu on 5 Dec 2009 06:49 "Max" wrote: > > I had the same problem with the installation of vhidmini. Don't type > the devcon.exe ..... command directly into the command promp, but > instead create a batch file with this command inside and run it, in > this case it worked for me. > . > Didn't work on Windows 7, but worked on Windows 2003 Server x86. How is running devcon.exe from a bat file any different to running it directly? Also, I still can't load the driver with the service control manager api, and although I can test the driver on NT 5.2 installed via bat file that calls devcon, I need to be able to load it dynamically in my application. Also, I need Windows Vista and 7. Thanks, -- Aram Hăvărneanu
From: Aram Hăvărneanu on 5 Dec 2009 07:10 "Aram Hăvărneanu" wrote: > > How is > running devcon.exe from a bat file any different to running it directly? > I think I may have an answer, I have copied the devcon line from the docs, and in the docs it uses smart quotes. The bat file was created manually using normal quotes. So that's why the bat file worked. If I type correct quotes in the command line it works as well. However I still have all the other problems (can't load the driver with the SCM API, doesn't work on Windows 7, etc). Thanks, -- Aram Hăvărneanu > Also, I still can't load the driver with the service control manager api, > and although I can test the driver on NT 5.2 installed via bat file that > calls devcon, I need to be able to load it dynamically in my application. > Also, I need Windows Vista and 7. > > Thanks, > > -- > Aram Hăvărneanu >
From: Max on 5 Dec 2009 08:56 Have you set the administrative privileges to the devcon.exe into windows 7? About how to load the driver the source code of devcon program are in the DDK, you can study it for understand how this software is able to load the driver. regards On Sat, 5 Dec 2009 04:10:01 -0800, Aram H?v?rneanu <AramHvrneanu(a)discussions.microsoft.com> wrote: >"Aram H?v?rneanu" wrote: > >> >> How is >> running devcon.exe from a bat file any different to running it directly? >> > >I think I may have an answer, I have copied the devcon line from the docs, >and in the docs it uses smart quotes. The bat file was created manually using >normal quotes. So that's why the bat file worked. If I type correct quotes in >the command line it works as well. > >However I still have all the other problems (can't load the driver with the >SCM API, doesn't work on Windows 7, etc). > >Thanks,
From: Aram Hăvărneanu on 5 Dec 2009 10:30 "Max" wrote: > Have you set the administrative privileges to the devcon.exe into > windows 7? Yes, I am running as admin and I have disabled UAC. I checked the logs, and with that information I was able to load the driver on Windows 7. On 2003, I was able to install the driver with the inf file and the sys file in the same directory, however, if I tried to do the same on Windows 7, it didn't work. Fortunately, the logs were of great help. > About how to load the driver the source code of devcon > program are in the DDK, you can study it for understand how this > software is able to load the driver. > I didn't know the source code for devcon was available. I can't find it in the current WDK. Probably I'm not looking where I need to. The SCM API is really simple, the problem with the fact that it doesn't work is that I don't know what to check. Are there any logs I should look into? Thanks, -- Aram Hăvărneanu
First
|
Prev
|
Next
|
Last
Pages: 1 2 3 Prev: kernel-mode encryption Next: HidD_GetFeature() working, HidD_SetFeature() not working |