Click here to Skip to main content
15,845,056 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to check CComVariant.boolval is valid and extract bool value from it Pin
Jochen Arndt22-Feb-12 5:48
professionalJochen Arndt22-Feb-12 5:48 
Questionstandard c_str() problem in C++ Pin
Anitesh Kumar21-Feb-12 18:45
Anitesh Kumar21-Feb-12 18:45 
AnswerRe: standard c_str() problem in C++ PinPopular
Emilio Garavaglia21-Feb-12 21:10
Emilio Garavaglia21-Feb-12 21:10 
GeneralRe: standard c_str() problem in C++ Pin
CPallini22-Feb-12 1:18
mveCPallini22-Feb-12 1:18 
GeneralRe: standard c_str() problem in C++ Pin
Eytukan22-Feb-12 1:52
Eytukan22-Feb-12 1:52 
QuestionBest way to check if a thread is still active c++ win32 Pin
jkirkerx21-Feb-12 12:35
professionaljkirkerx21-Feb-12 12:35 
QuestionRe: Best way to check if a thread is still active c++ win32 Pin
Randor 21-Feb-12 15:27
professional Randor 21-Feb-12 15:27 
AnswerRe: Best way to check if a thread is still active c++ win32 Pin
jkirkerx21-Feb-12 16:18
professionaljkirkerx21-Feb-12 16:18 
The original problem that lead to the question was that when the program running in the process was canceled, or halted due to a requirement missing, the cosmetic loop would still be running, instead of exiting and sending the appropriate message to the message pump to go to the next stage. So I added the GetExitCode to double check that the process was still running, or if the process had been halted.

Just didn't think my quick fix was the correct way to check, and just wanted to do it right.
GeneralRe: Best way to check if a thread is still active c++ win32 Pin
Randor 21-Feb-12 17:55
professional Randor 21-Feb-12 17:55 
GeneralRe: Best way to check if a thread is still active c++ win32 Pin
jkirkerx21-Feb-12 18:05
professionaljkirkerx21-Feb-12 18:05 
AnswerRe: Best way to check if a thread is still active c++ win32 Pin
Chuck O'Toole21-Feb-12 15:29
Chuck O'Toole21-Feb-12 15:29 
GeneralRe: Best way to check if a thread is still active c++ win32 Pin
jkirkerx21-Feb-12 16:28
professionaljkirkerx21-Feb-12 16:28 
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 
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 Pin
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 

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.