Launching Device Manager or manipulating device manager from C++
-
I want to be able to automatically install some driver files for use by my application. I have looked high and low and cant find any API documentation to help me out. Does anyone know of a way?
-
I want to be able to automatically install some driver files for use by my application. I have looked high and low and cant find any API documentation to help me out. Does anyone know of a way?
You can use
ShellExecute()
orCreateProcess()
with devmgmt.msc.
"Money talks. When my money starts to talk, I get a bill to shut it up." - Frank
"Judge not by the eye but by the heart." - Native American Proverb
-
You can use
ShellExecute()
orCreateProcess()
with devmgmt.msc.
"Money talks. When my money starts to talk, I get a bill to shut it up." - Frank
"Judge not by the eye but by the heart." - Native American Proverb
Sorry to be such a pain. Can you eleborate a little? I have used both these functions in the past but how on earth would I use them to prompt the device manager to install some drivers from a particular location?
-
I want to be able to automatically install some driver files for use by my application. I have looked high and low and cant find any API documentation to help me out. Does anyone know of a way?
I want to be able to prompt the Device Manager to install some driver files from a specific location from C++.
-
Sorry to be such a pain. Can you eleborate a little? I have used both these functions in the past but how on earth would I use them to prompt the device manager to install some drivers from a particular location?
My reply was simply in response to the "Launching Device Manager" subject. It obviously could not be used to install devices/drivers.
"Money talks. When my money starts to talk, I get a bill to shut it up." - Frank
"Judge not by the eye but by the heart." - Native American Proverb
-
I want to be able to prompt the Device Manager to install some driver files from a specific location from C++.
Do those driver files have a setup/install program?
"Money talks. When my money starts to talk, I get a bill to shut it up." - Frank
"Judge not by the eye but by the heart." - Native American Proverb
-
Do those driver files have a setup/install program?
"Money talks. When my money starts to talk, I get a bill to shut it up." - Frank
"Judge not by the eye but by the heart." - Native American Proverb
No. They are custom drivers that have been written for our specific hardware. I have looked high and low for information on it. Im sure its possible but MSDN doesn't have all that much information. The Linux world makes it so much easier :(
-
My reply was simply in response to the "Launching Device Manager" subject. It obviously could not be used to install devices/drivers.
"Money talks. When my money starts to talk, I get a bill to shut it up." - Frank
"Judge not by the eye but by the heart." - Native American Proverb
Thanks David. :(
-
No. They are custom drivers that have been written for our specific hardware. I have looked high and low for information on it. Im sure its possible but MSDN doesn't have all that much information. The Linux world makes it so much easier :(
Maybe devmgr.dll has some exported functions (e.g.,
DeviceCreateHardwarePage()
) that can be used. http://www.experts-exchange.com/Programming/Q_20617785.html[^]
"Money talks. When my money starts to talk, I get a bill to shut it up." - Frank
"Judge not by the eye but by the heart." - Native American Proverb
-
I want to be able to automatically install some driver files for use by my application. I have looked high and low and cant find any API documentation to help me out. Does anyone know of a way?
Driver Installation[^] on Windows Hardware Developer Central.
Stability. What an interesting concept. -- Chris Maunder