Click here to Skip to main content
15,901,035 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionXP problem Pin
RomTibi28-Jun-08 19:48
RomTibi28-Jun-08 19:48 
AnswerRe: XP problem Pin
rp_suman29-Jun-08 4:52
rp_suman29-Jun-08 4:52 
GeneralRe: XP problem Pin
RomTibi6-Jul-08 5:48
RomTibi6-Jul-08 5:48 
AnswerRe: XP problem Pin
Ștefan-Mihai MOGA29-Jun-08 5:01
professionalȘtefan-Mihai MOGA29-Jun-08 5:01 
GeneralRe: XP problem Pin
RomTibi6-Jul-08 5:49
RomTibi6-Jul-08 5:49 
QuestionHow to get Thread State Pin
SalarSoft28-Jun-08 18:21
SalarSoft28-Jun-08 18:21 
AnswerRe: How to get Thread State Pin
rp_suman29-Jun-08 5:24
rp_suman29-Jun-08 5:24 
AnswerRe: How to get Thread State Pin
Mark Salsbery29-Jun-08 8:40
Mark Salsbery29-Jun-08 8:40 
GetExitCodeThread() will check if the thread is active or not.

You shouldn't be suspending threads so that shouldn't be an issue,
unless you're writing a debugger.

There's no reliable way to get the suspended state - that state
can change at any time. You could use SuspenfThread() and check the
return value. If it returns >= 1 then the thread was already suspended.
Don't forget to call ResumeThread().

Mark

Mark Salsbery
Microsoft MVP - Visual C++

Java | [Coffee]

GeneralRe: How to get Thread State Pin
SalarSoft29-Jun-08 18:20
SalarSoft29-Jun-08 18:20 
AnswerRe: How to get Thread State Pin
SalarSoft30-Jun-08 19:41
SalarSoft30-Jun-08 19:41 
Questionenduring object in Visual Studion Pin
bkelly1328-Jun-08 7:15
bkelly1328-Jun-08 7:15 
AnswerRe: enduring object in Visual Studion Pin
CPallini28-Jun-08 7:30
mveCPallini28-Jun-08 7:30 
GeneralRe: enduring object in Visual Studion Pin
bkelly1328-Jun-08 11:47
bkelly1328-Jun-08 11:47 
GeneralRe: enduring object in Visual Studion Pin
Mark Salsbery28-Jun-08 12:19
Mark Salsbery28-Jun-08 12:19 
GeneralRe: enduring object in Visual Studion Pin
bkelly1329-Jun-08 11:45
bkelly1329-Jun-08 11:45 
GeneralRe: enduring object in Visual Studion Pin
Mark Salsbery29-Jun-08 12:02
Mark Salsbery29-Jun-08 12:02 
QuestionIt makes me crazy.. help me plz. Pin
FR2ESOD28-Jun-08 6:32
FR2ESOD28-Jun-08 6:32 
AnswerRe: It makes me crazy.. help me plz. Pin
CPallini28-Jun-08 7:24
mveCPallini28-Jun-08 7:24 
GeneralRe: It makes me crazy.. help me plz. Pin
FR2ESOD28-Jun-08 13:21
FR2ESOD28-Jun-08 13:21 
AnswerRe: It makes me crazy.. help me plz. Pin
Ștefan-Mihai MOGA29-Jun-08 5:04
professionalȘtefan-Mihai MOGA29-Jun-08 5:04 
GeneralRe: It makes me crazy.. help me plz. Pin
FR2ESOD29-Jun-08 6:12
FR2ESOD29-Jun-08 6:12 
QuestionCaptuve encode and stream over a network Pin
Ethemind28-Jun-08 6:19
Ethemind28-Jun-08 6:19 
AnswerRe: Captuve encode and stream over a network Pin
Mark Salsbery28-Jun-08 7:44
Mark Salsbery28-Jun-08 7:44 
QuestionEvent Handling for Dynamically created ListBox Pin
chetanjoshi928-Jun-08 1:09
chetanjoshi928-Jun-08 1:09 
AnswerRe: Event Handling for Dynamically created ListBox Pin
MANISH RASTOGI28-Jun-08 2:11
MANISH RASTOGI28-Jun-08 2:11 

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.