Click here to Skip to main content
15,924,317 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
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 
deeps_cute wrote:
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.


It sounds like the problem is the other exe is not waiting on the batch file? So if your program is waiting on the exe (which is not waiting on the batch file), your program is also not waiting on the batch file? Can you confirm this (e.g., run calc.exe and see if your program waits for it)?

deeps_cute wrote:
startup.hStdInput=NULL;


Since you've already called ZeroMemory(), this statement is pointless.

deeps_cute wrote:
CreateProcess(NULL,ovpncheck1.GetBuffer(ovpncheck1.GetLength() + 1)...


Why are you calling GetBuffer()? It is not necessary.


"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15

"Judge not by the eye but by the heart." - Native American Proverb


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 
Questiongui [modified] Pin
deepthi bhattachar8-Apr-07 9:44
deepthi bhattachar8-Apr-07 9:44 
AnswerRe: gui Pin
Ravi Bhavnani8-Apr-07 12:01
professionalRavi Bhavnani8-Apr-07 12:01 
QuestionOverriding Edit Control.. Pin
Super Hornet8-Apr-07 8:22
Super Hornet8-Apr-07 8:22 

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.