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

C / C++ / MFC

 
Generala problem when wait for a thread to be completed Pin
followait7-Apr-08 5:30
followait7-Apr-08 5:30 
QuestionRe: a problem when wait for a thread to be completed Pin
David Crow7-Apr-08 6:05
David Crow7-Apr-08 6:05 
GeneralRe: a problem when wait for a thread to be completed Pin
followait7-Apr-08 7:37
followait7-Apr-08 7:37 
GeneralRe: a problem when wait for a thread to be completed Pin
David Crow7-Apr-08 8:10
David Crow7-Apr-08 8:10 
GeneralRe: a problem when wait for a thread to be completed Pin
Jim Crafton7-Apr-08 9:24
Jim Crafton7-Apr-08 9:24 
GeneralRe: a problem when wait for a thread to be completed Pin
Stephen Hewitt7-Apr-08 15:19
Stephen Hewitt7-Apr-08 15:19 
GeneralRe: a problem when wait for a thread to be completed Pin
ThatsAlok7-Apr-08 19:28
ThatsAlok7-Apr-08 19:28 
GeneralRe: a problem when wait for a thread to be completed Pin
Mark Salsbery7-Apr-08 6:16
Mark Salsbery7-Apr-08 6:16 
In addition to DavidCrow's reply (yes, you should be using AfxBeginThread() for threads that use MFC),
you aren't showing any code that tells the thread to terminate.  How are you handling that?

Mark



Mark Salsbery
Microsoft MVP - Visual C++

Java | [Coffee]

GeneralRe: a problem when wait for a thread to be completed Pin
led mike7-Apr-08 7:10
led mike7-Apr-08 7:10 
GeneralRe: a problem when wait for a thread to be completed Pin
Jim Crafton7-Apr-08 9:16
Jim Crafton7-Apr-08 9:16 
GeneralRe: a problem when wait for a thread to be completed Pin
led mike7-Apr-08 10:01
led mike7-Apr-08 10:01 
GeneralRe: a problem when wait for a thread to be completed Pin
ThatsAlok7-Apr-08 19:29
ThatsAlok7-Apr-08 19:29 
GeneralRe: a problem when wait for a thread to be completed Pin
followait7-Apr-08 7:39
followait7-Apr-08 7:39 
GeneralRe: a problem when wait for a thread to be completed Pin
Mark Salsbery7-Apr-08 7:52
Mark Salsbery7-Apr-08 7:52 
GeneralRe: a problem when wait for a thread to be completed Pin
Cedric Moonen7-Apr-08 7:52
Cedric Moonen7-Apr-08 7:52 
GeneralRe: a problem when wait for a thread to be completed Pin
Randor 7-Apr-08 9:52
professional Randor 7-Apr-08 9:52 
QuestionRe: a problem when wait for a thread to be completed Pin
ThatsAlok7-Apr-08 19:31
ThatsAlok7-Apr-08 19:31 
GeneralRe: a problem when wait for a thread to be completed Pin
followait7-Apr-08 20:04
followait7-Apr-08 20:04 
GeneralRecognize normal text on the screen Pin
yytg7-Apr-08 4:45
yytg7-Apr-08 4:45 
GeneralRe: Recognize normal text on the screen Pin
followait7-Apr-08 5:35
followait7-Apr-08 5:35 
GeneralRe: Recognize normal text on the screen Pin
David Crow7-Apr-08 6:06
David Crow7-Apr-08 6:06 
AnswerRe: Recognize normal text on the screen Pin
yytg7-Apr-08 7:31
yytg7-Apr-08 7:31 
QuestionRe: Recognize normal text on the screen Pin
yytg7-Apr-08 23:42
yytg7-Apr-08 23:42 
GeneralRe: Recognize normal text on the screen Pin
Nitheesh George7-Apr-08 6:40
Nitheesh George7-Apr-08 6:40 
GeneralRe: Recognize normal text on the screen Pin
josip cagalj8-Apr-08 1:33
josip cagalj8-Apr-08 1:33 

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.