Click here to Skip to main content
15,884,099 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: making a path to a file Pin
Maximilien12-Jul-05 8:24
Maximilien12-Jul-05 8:24 
QuestionVisual C++ .NET Standard crippled? Pin
Member 30711412-Jul-05 6:56
Member 30711412-Jul-05 6:56 
AnswerRe: Visual C++ .NET Standard crippled? Pin
Kevin McFarlane12-Jul-05 8:16
Kevin McFarlane12-Jul-05 8:16 
GeneralList box question Pin
Tom Wright12-Jul-05 6:49
Tom Wright12-Jul-05 6:49 
GeneralRe: List box question Pin
RChin12-Jul-05 7:02
RChin12-Jul-05 7:02 
GeneralRe: List box question Pin
Tom Wright12-Jul-05 7:14
Tom Wright12-Jul-05 7:14 
GeneralRe: List box question Pin
Jack Puppy12-Jul-05 7:42
Jack Puppy12-Jul-05 7:42 
GeneralGet The Status Of A Thread Pin
yccheok12-Jul-05 6:38
yccheok12-Jul-05 6:38 
hi, may i noe is there any API enable me to know the status of a thread through its handle?

HANDLE h = CreateThread(...

GetThreadStatus(h) == ALIVE || GetThreadStatus(h) == SLEEPING || GetThreadStatus(h) == DEAD

Currently, i create a thread A (with handle hA) in MAIN thread, and let the thread A run in funA. My thread A will set the hA to null at the end of funA.

This is the way for my MAIN thread to see whether thread A is alive

if(hA != NULL) ALIVE;

this method is quite cumbersome, can anyone share out better technique?

thank you very much!

cheok
GeneralRe: Get The Status Of A Thread Pin
David Crow12-Jul-05 8:19
David Crow12-Jul-05 8:19 
GeneralConvert 24bit bmp to dithered 2bit bmp Pin
Pabs(Sco)12-Jul-05 5:06
Pabs(Sco)12-Jul-05 5:06 
GeneralRe: Convert 24bit bmp to dithered 2bit bmp Pin
Andrew Kirillov12-Jul-05 5:37
Andrew Kirillov12-Jul-05 5:37 
GeneralRe: Convert 24bit bmp to dithered 2bit bmp Pin
Pabs(Sco)12-Jul-05 5:54
Pabs(Sco)12-Jul-05 5:54 
GeneralHELP ME!!!!!! Pin
Member 202519312-Jul-05 4:29
Member 202519312-Jul-05 4:29 
GeneralRe: HELP ME!!!!!! Pin
Jose Lamas Rios12-Jul-05 4:47
Jose Lamas Rios12-Jul-05 4:47 
GeneralRe: HELP ME!!!!!! Pin
toxcct12-Jul-05 6:12
toxcct12-Jul-05 6:12 
GeneralRe: HELP ME!!!!!! Pin
Tom Wright12-Jul-05 6:51
Tom Wright12-Jul-05 6:51 
GeneralRe: HELP ME!!!!!! Pin
Bob Stanneveld12-Jul-05 21:09
Bob Stanneveld12-Jul-05 21:09 
GeneralCapturing mouse events and Cursor Pin
Kharfax12-Jul-05 3:53
Kharfax12-Jul-05 3:53 
GeneralRe: Capturing mouse events and Cursor Pin
Blake Miller12-Jul-05 4:56
Blake Miller12-Jul-05 4:56 
GeneralRe: Capturing mouse events and Cursor Pin
Kharfax12-Jul-05 5:03
Kharfax12-Jul-05 5:03 
GeneralRe: Capturing mouse events and Cursor Pin
Trollslayer12-Jul-05 8:34
mentorTrollslayer12-Jul-05 8:34 
GeneralRe: Capturing mouse events and Cursor Pin
Kharfax12-Jul-05 10:44
Kharfax12-Jul-05 10:44 
GeneralRe: Capturing mouse events and Cursor Pin
Trollslayer12-Jul-05 11:33
mentorTrollslayer12-Jul-05 11:33 
GeneralRe: I found a solution Pin
Kharfax13-Jul-05 4:57
Kharfax13-Jul-05 4:57 
QuestionHow to Create inbound application using Tapi 3.0 Pin
riyajain12-Jul-05 3:02
riyajain12-Jul-05 3: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.