Click here to Skip to main content
16,012,223 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: File selection dialog crash Pin
Naveen8-Apr-07 20:43
Naveen8-Apr-07 20:43 
GeneralRe: File selection dialog crash Pin
rp_suman8-Apr-07 21:59
rp_suman8-Apr-07 21:59 
GeneralRe: File selection dialog crash Pin
Naveen8-Apr-07 22:07
Naveen8-Apr-07 22:07 
QuestionRe: File selection dialog crash Pin
David Crow9-Apr-07 3:29
David Crow9-Apr-07 3:29 
AnswerRe: File selection dialog crash Pin
Naveen9-Apr-07 17:22
Naveen9-Apr-07 17:22 
QuestionRe: File selection dialog crash Pin
David Crow9-Apr-07 3:30
David Crow9-Apr-07 3:30 
AnswerRe: File selection dialog crash Pin
rp_suman11-Apr-07 22:16
rp_suman11-Apr-07 22:16 
QuestionCreate process Pin
deeps_cute8-Apr-07 19:31
deeps_cute8-Apr-07 19:31 
i am calling a exe file from my program which in turn calling an batch. after executing this exe compltely only, i have to open a message box. but this is posting while the batch fle is opened. i used createprocess.
CString ovpncheck1;
ovpncheck1 = "C:\\Program Files\\OpenVPN\\bin\\sample.exe";
STARTUPINFO startup;
ZeroMemory(&startup,sizeof(startup));
PROCESS_INFORMATION pInfo;
ZeroMemory(&pInfo,sizeof(pInfo));
startup.cb=sizeof(startup);
startup.dwFlags=STARTF_USESTDHANDLES;
startup.hStdInput=NULL;

CreateProcess(NULL,ovpncheck1.GetBuffer(ovpncheck1.GetLength() + 1), NULL,NULL,TRUE,CREATE_NEW_CONSOLE,NULL,NULL,&startup,&pInfo); // PROCESS_INFORMATION
WaitForSingleObject(pInfo.hProcess,INFINITE);

MessageBox("Click YES to Configure EncryptaKey VPN 2","EncryptaKey VPN",MB_YESNO|MB_ICONQUESTION);

how to open the messagebox only afetr executing the exe completely

Arise Awake Stop Not Till ur Goal is Reached.

AnswerRe: Create process Pin
kanduripavan8-Apr-07 20:16
kanduripavan8-Apr-07 20:16 
GeneralRe: Create process Pin
deeps_cute8-Apr-07 20:56
deeps_cute8-Apr-07 20:56 
AnswerRe: Create process Pin
David Crow9-Apr-07 3:37
David Crow9-Apr-07 3:37 
AnswerRe: Create process Pin
kanduripavan13-Apr-07 10:40
kanduripavan13-Apr-07 10:40 
QuestionPrint Preview MultiPage Pin
thanchu8-Apr-07 17:14
thanchu8-Apr-07 17:14 
QuestionAfxBeginThread Pin
gingerballs8-Apr-07 17:03
gingerballs8-Apr-07 17:03 
AnswerRe: AfxBeginThread Pin
Joe Woodbury8-Apr-07 17:19
professionalJoe Woodbury8-Apr-07 17:19 
AnswerRe: AfxBeginThread Pin
Hamid_RT8-Apr-07 18:54
Hamid_RT8-Apr-07 18:54 
QuestionEXCEPTION error....urgent @help pls.. Pin
Software_Specialist8-Apr-07 12:56
Software_Specialist8-Apr-07 12:56 
AnswerRe: EXCEPTION error....urgent @help pls.. Pin
Michael Dunn8-Apr-07 14:21
sitebuilderMichael Dunn8-Apr-07 14:21 
QuestionSubclassing windows controls Pin
flavour4048-Apr-07 12:12
flavour4048-Apr-07 12:12 
AnswerRe: Subclassing windows controls Pin
Jun Du8-Apr-07 13:31
Jun Du8-Apr-07 13:31 
AnswerRe: Subclassing windows controls Pin
William.Wang8-Apr-07 16:41
William.Wang8-Apr-07 16:41 
QuestionFreeImage Library Help [SOLVED] Pin
#realJSOP8-Apr-07 10:16
professional#realJSOP8-Apr-07 10:16 
AnswerRe: FreeImage Library Help [modified] Pin
Ravi Bhavnani8-Apr-07 12:07
professionalRavi Bhavnani8-Apr-07 12:07 
AnswerRe: FreeImage Library Help [SOLVED] Pin
William.Wang8-Apr-07 16:52
William.Wang8-Apr-07 16:52 
GeneralRe: FreeImage Library Help [SOLVED] Pin
#realJSOP9-Apr-07 1:43
professional#realJSOP9-Apr-07 1:43 

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.