Click here to Skip to main content
15,850,103 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Best way to check if a thread is still active c++ win32 Pin
Chuck O'Toole21-Feb-12 17:12
Chuck O'Toole21-Feb-12 17:12 
AnswerComplete code for CreateProcess and loop Pin
jkirkerx21-Feb-12 16:26
professionaljkirkerx21-Feb-12 16:26 
AnswerRe: Complete code for CreateProcess and loop Pin
Chuck O'Toole21-Feb-12 17:22
Chuck O'Toole21-Feb-12 17:22 
AnswerRe: Complete code for CreateProcess and loop Pin
Chuck O'Toole21-Feb-12 17:34
Chuck O'Toole21-Feb-12 17:34 
GeneralRe: Complete code for CreateProcess and loop Pin
jkirkerx21-Feb-12 17:50
professionaljkirkerx21-Feb-12 17:50 
GeneralRe: Complete code for CreateProcess and loop Pin
Randor 21-Feb-12 18:08
professional Randor 21-Feb-12 18:08 
GeneralRe: Complete code for CreateProcess and loop Pin
jkirkerx21-Feb-12 19:18
professionaljkirkerx21-Feb-12 19:18 
GeneralRe: Complete code for CreateProcess and loop Pin
jkirkerx22-Feb-12 7:58
professionaljkirkerx22-Feb-12 7:58 
Thanks for your help last night Randor. Your open and closed probe questions help me understand why I needed that line of code, to detect if the process was still running.

It did not dawn on me that that the exit code came from the program that I was running, and that I can't trust the program to produce an exit code upon exit.

As far as the WaitForSingleObject goes, I have it set for 10, because I needed the cosmetic loop to run, and needed to be able to send messages to the pump.

I like the way it is, so I will leave it, and add something to make a check for completion, like checking to see if the final install log file exist or something.

I was tired last night so I left the office.

FYI:

Almost done with the initial version of my program, and everything actually works. I was able to translate all my vb programs so far which amazes me. Should be done by the end of the month, and will then make the deployment package.

Going to need some alpha testers, I wonder if Code Project can help me with that.

Thanks
jkirker
QuestionDynamic linking vs dynamic loading Pin
elelont221-Feb-12 5:47
elelont221-Feb-12 5:47 
QuestionRe: Dynamic linking vs dynamic loading Pin
David Crow21-Feb-12 6:41
David Crow21-Feb-12 6:41 
AnswerRe: Dynamic linking vs dynamic loading PinPopular
Chris Losinger21-Feb-12 6:47
professionalChris Losinger21-Feb-12 6:47 
QuestionHow to increase concurrent rate of a server application Pin
yu-jian21-Feb-12 4:30
yu-jian21-Feb-12 4:30 
AnswerRe: How to increase concurrent rate of a server application Pin
Richard MacCutchan21-Feb-12 6:20
mveRichard MacCutchan21-Feb-12 6:20 
AnswerRe: How to increase concurrent rate of a server application Pin
Randor 21-Feb-12 9:32
professional Randor 21-Feb-12 9:32 
QuestionWin7 - worker thread freeze on call to WaitForSingleObject Pin
Stan the man21-Feb-12 1:12
Stan the man21-Feb-12 1:12 
AnswerRe: Win7 - worker thread freeze on call to WaitForSingleObject Pin
Jochen Arndt21-Feb-12 1:29
professionalJochen Arndt21-Feb-12 1:29 
GeneralRe: Win7 - worker thread freeze on call to WaitForSingleObject Pin
Stan the man21-Feb-12 2:31
Stan the man21-Feb-12 2:31 
AnswerRe: Win7 - worker thread freeze on call to WaitForSingleObject Pin
bjorn_ht21-Feb-12 2:16
bjorn_ht21-Feb-12 2:16 
AnswerRe: Win7 - worker thread freeze on call to WaitForSingleObject Pin
Erudite_Eric21-Feb-12 3:31
Erudite_Eric21-Feb-12 3:31 
QuestionInitializing base class data Pin
SunilKrSingh20-Feb-12 4:46
SunilKrSingh20-Feb-12 4:46 
AnswerRe: Initializing base class data Pin
prasad_som20-Feb-12 7:49
prasad_som20-Feb-12 7:49 
AnswerRe: Initializing base class data Pin
enhzflep20-Feb-12 15:02
enhzflep20-Feb-12 15:02 
GeneralRe: Initializing base class data Pin
SunilKrSingh20-Feb-12 19:37
SunilKrSingh20-Feb-12 19:37 
GeneralRe: Initializing base class data Pin
enhzflep20-Feb-12 19:53
enhzflep20-Feb-12 19:53 
GeneralRe: Initializing base class data Pin
SunilKrSingh20-Feb-12 20:02
SunilKrSingh20-Feb-12 20:02 

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.