Welcome to the new platform of Programmers Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use it's exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
Installing Camera driver programmatically
[b][red]This message was edited by leojose at 2005-10-21 1:2:33[/red][/b][hr]
What I have is a .inf and .sys file of a Camera driver. I would like to install it on my WinXP machine programmatically.
Earlier, I managed to install a printer driver (.inf an .ppd files) by using
if( !CreateProcess( NULL, //ModuleName, // module name
, // Command line.
NULL, // Process handle not inheritable.
NULL, // Thread handle not inheritable.
FALSE, // Set handle inheritance to FALSE.
0, // No creation flags.
NULL, // Use parent's environment block.
NULL, // Use parent's starting directory.
&si, // Pointer to STARTUPINFO structure.
&pi ) // Pointer to PROCESS_INFORMATION structure.
sCommandLine2 = "rundll32 printui.dll,PrintUIEntry /q /if /b "PrinterName" /f "c:\gs\gs8.15\lib\PrinterName.inf" /r file: /m "PrinterName
Is there any similar method to install a Camera driver?