Click here to Skip to main content
15,909,332 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Changing font sizes in c++ Pin
ThatsAlok26-Apr-05 2:19
ThatsAlok26-Apr-05 2:19 
GeneralRe: Changing font sizes in c++ Pin
Jason Henderson26-Apr-05 3:42
Jason Henderson26-Apr-05 3:42 
Generalproxy + NTLM Pin
Geert van Horrik26-Apr-05 1:18
Geert van Horrik26-Apr-05 1:18 
QuestionHow to unload dlls Pin
Anonymous26-Apr-05 0:54
Anonymous26-Apr-05 0:54 
AnswerRe: How to unload dlls Pin
stolid_rock26-Apr-05 1:13
stolid_rock26-Apr-05 1:13 
GeneralRe: How to unload dlls Pin
Anonymous26-Apr-05 1:22
Anonymous26-Apr-05 1:22 
AnswerRe: How to unload dlls Pin
ThatsAlok26-Apr-05 1:37
ThatsAlok26-Apr-05 1:37 
AnswerRe: How to unload dlls Pin
22491726-Apr-05 1:47
22491726-Apr-05 1:47 
Anonymous wrote:
for eg. str="regsvr32 /u " +"C:\Program Files\Demo\Components\demo.dll";

There are few problems with the code.
1. You are trying to pass the parameter along with the exe name, which is not suggested.
so make two strings like :
string sFile(_T("regsvr32"));
string sParam(_T("/u \"C:\\Program Files\\Demo\\Components\\demo.dll\""));

2. Also note the dll path wrapped with double quote above.

Now call
::ShellExecute(hWnd,_T("open"),sFile.c_str(),sParam.c_str(),0,SW_SHOW);





suhredayan
There is no spoon.

QuestionHow to get drive volume serial number in VC++ Pin
aloktambi26-Apr-05 0:52
aloktambi26-Apr-05 0:52 
AnswerRe: How to get drive volume serial number in VC++ Pin
ThatsAlok26-Apr-05 1:21
ThatsAlok26-Apr-05 1:21 
AnswerRe: How to get drive volume serial number in VC++ Pin
David Crow26-Apr-05 3:40
David Crow26-Apr-05 3:40 
GeneralFile handles Pin
micutzu25-Apr-05 23:14
micutzu25-Apr-05 23:14 
GeneralRe: File handles Pin
22491725-Apr-05 23:35
22491725-Apr-05 23:35 
GeneralRe: File handles Pin
micutzu25-Apr-05 23:51
micutzu25-Apr-05 23:51 
GeneralRe: File handles Pin
Stlan26-Apr-05 1:55
Stlan26-Apr-05 1:55 
GeneralRe: File handles Pin
micutzu26-Apr-05 2:25
micutzu26-Apr-05 2:25 
GeneralRe: File handles Pin
David Crow26-Apr-05 3:43
David Crow26-Apr-05 3:43 
GeneralRe: File handles Pin
David Crow26-Apr-05 3:45
David Crow26-Apr-05 3:45 
GeneralRe: File handles Pin
micutzu26-Apr-05 4:21
micutzu26-Apr-05 4:21 
QuestionDisplaying a Grpah in VC++ Dialog ?? Pin
kk_vp25-Apr-05 23:11
kk_vp25-Apr-05 23:11 
AnswerRe: Displaying a Grpah in VC++ Dialog ?? Pin
Stlan25-Apr-05 23:34
Stlan25-Apr-05 23:34 
Generalget instance of calling app Pin
ThinkingPrometheus25-Apr-05 22:44
ThinkingPrometheus25-Apr-05 22:44 
GeneralRe: get instance of calling app Pin
22491726-Apr-05 22:17
22491726-Apr-05 22:17 
GeneralClient Server Application Pin
kalicharan25-Apr-05 22:29
kalicharan25-Apr-05 22:29 
GeneralRe: Client Server Application Pin
ThatsAlok26-Apr-05 1:30
ThatsAlok26-Apr-05 1:30 

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.