Click here to Skip to main content
15,915,603 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Creating and saving to a file Pin
NewHSKid28-Aug-03 2:55
NewHSKid28-Aug-03 2:55 
GeneralRe: Creating and saving to a file Pin
Ravi Bhavnani28-Aug-03 3:05
professionalRavi Bhavnani28-Aug-03 3:05 
GeneralRe: Creating and saving to a file Pin
David Crow28-Aug-03 3:06
David Crow28-Aug-03 3:06 
GeneralRe: Creating and saving to a file Pin
NewHSKid28-Aug-03 3:36
NewHSKid28-Aug-03 3:36 
GeneralRe: Creating and saving to a file Pin
David Crow28-Aug-03 3:41
David Crow28-Aug-03 3:41 
Generalchar to WCHAR Pin
arturapps28-Aug-03 2:27
arturapps28-Aug-03 2:27 
GeneralRe: char to WCHAR Pin
David Crow28-Aug-03 2:42
David Crow28-Aug-03 2:42 
Generalrun batch file contents from application...help experts Pin
rohit.dhamija28-Aug-03 2:17
rohit.dhamija28-Aug-03 2:17 
Dear All,

I am developing an application in MFC VC++ Version 6.0 for Windows 2000.


I have some contents in a batch file to uninstall my driver.
I need to uninstall the driver without using this batch file, i need to uninstall it from my application only on click of an event. Can any body please tell me API to uninstall the driver using the contents of the batch file

The contents of batch file are:

rundll32.exe setupapi,InstallHinfSection DefaultUninstall 132 .\filespyw2k.inf

I tried using Winexec like

WinExec("rundll32.exe setupapi,InstallHinfSection DefaultUninstall 132 .\filespyw2k.inf",SW_SHOW);

but it showed that installation failed. If i run the batch file it easily uninstalls the driver



Feel free to ask any further queries in this regards,

Thanks
Rohit Dhamija




GeneralRe: run batch file contents from application...help experts Pin
David Crow28-Aug-03 2:23
David Crow28-Aug-03 2:23 
GeneralRe: run batch file contents from application...help experts Pin
rohit.dhamija28-Aug-03 2:49
rohit.dhamija28-Aug-03 2:49 
GeneralRe: run batch file contents from application...help experts Pin
David Crow28-Aug-03 2:54
David Crow28-Aug-03 2:54 
GeneralRe: run batch file contents from application...help experts Pin
rohit.dhamija28-Aug-03 3:10
rohit.dhamija28-Aug-03 3:10 
GeneralRe: run batch file contents from application...help experts Pin
David Crow28-Aug-03 3:36
David Crow28-Aug-03 3:36 
GeneralRe: run batch file contents from application...help experts Pin
Steve S28-Aug-03 6:33
Steve S28-Aug-03 6:33 
QuestionHow to build Conversion utility Pin
Thoppae28-Aug-03 2:15
Thoppae28-Aug-03 2:15 
AnswerRe: How to build Conversion utility Pin
David Crow28-Aug-03 2:27
David Crow28-Aug-03 2:27 
GeneralRe: How to build Conversion utility Pin
Anonymous28-Aug-03 2:56
Anonymous28-Aug-03 2:56 
GeneralRe: How to build Conversion utility Pin
David Crow28-Aug-03 3:25
David Crow28-Aug-03 3:25 
GeneralCEdit and DblClick Pin
olivierjoly28-Aug-03 1:20
olivierjoly28-Aug-03 1:20 
GeneralRe: CEdit and DblClick Pin
valikac28-Aug-03 6:16
valikac28-Aug-03 6:16 
GeneralRe: CEdit and DblClick Pin
Steve S28-Aug-03 7:20
Steve S28-Aug-03 7:20 
GeneralAutomatic file name and version in VStudio 6 Pin
Jerome Conus28-Aug-03 0:57
Jerome Conus28-Aug-03 0:57 
GeneralRe: Automatic file name and version in VStudio 6 Pin
Steve S28-Aug-03 1:39
Steve S28-Aug-03 1:39 
QuestionHow to get monitor DPI? Pin
Anthony_Yio28-Aug-03 0:22
Anthony_Yio28-Aug-03 0:22 
AnswerRe: How to get monitor DPI? Pin
CodeBrain28-Aug-03 0:50
CodeBrain28-Aug-03 0:50 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.