Click here to Skip to main content
15,917,795 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to Terminate a CWinThread Pin
a_du20-Jun-05 23:12
a_du20-Jun-05 23:12 
GeneralRe: How to Terminate a CWinThread Pin
Cedric Moonen20-Jun-05 23:22
Cedric Moonen20-Jun-05 23:22 
GeneralRe: How to Terminate a CWinThread Pin
a_du21-Jun-05 17:48
a_du21-Jun-05 17:48 
AnswerRe: How to Terminate a CWinThread Pin
Nilesh K.20-Jun-05 21:33
Nilesh K.20-Jun-05 21:33 
GeneralRe: How to Terminate a CWinThread Pin
a_du20-Jun-05 22:12
a_du20-Jun-05 22:12 
GeneralRe: How to Terminate a CWinThread Pin
Nilesh K.20-Jun-05 23:04
Nilesh K.20-Jun-05 23:04 
AnswerRe: How to Terminate a CWinThread Pin
ThatsAlok20-Jun-05 21:43
ThatsAlok20-Jun-05 21:43 
GeneralRe: How to Terminate a CWinThread Pin
a_du20-Jun-05 22:05
a_du20-Jun-05 22:05 
Actually i am not sur Frown | :(
i create a dlg which has a control list. when this dlg is created by calling domodal(), a CWinThread is created in OnInit funtion. The thread will keep reading the log files and display the contents on the control list.
User will click cancel of the dlg to exit the dlg. problem is if i don't kill the Thread, it may still hold the handle to the log file. so further writing to the log file will cause problem.

GeneralRe: How to Terminate a CWinThread Pin
ThatsAlok20-Jun-05 22:48
ThatsAlok20-Jun-05 22:48 
GeneralRe: How to Terminate a CWinThread Pin
pierrekande20-Jun-05 23:29
pierrekande20-Jun-05 23:29 
GeneralRe: How to Terminate a CWinThread Pin
David Crow21-Jun-05 4:47
David Crow21-Jun-05 4:47 
AnswerRe: How to Terminate a CWinThread Pin
Bob Stanneveld20-Jun-05 22:22
Bob Stanneveld20-Jun-05 22:22 
AnswerRe: How to Terminate a CWinThread Pin
David Crow21-Jun-05 4:43
David Crow21-Jun-05 4:43 
GeneralMFC CEdit::SetSel() Pin
toxcct20-Jun-05 20:51
toxcct20-Jun-05 20:51 
GeneralRe: MFC CEdit::SetSel() Pin
GDavy20-Jun-05 21:13
GDavy20-Jun-05 21:13 
GeneralRe: MFC CEdit::SetSel() Pin
toxcct21-Jun-05 0:26
toxcct21-Jun-05 0:26 
GeneralRe: MFC CEdit::SetSel() Pin
ThatsAlok20-Jun-05 21:30
ThatsAlok20-Jun-05 21:30 
GeneralRe: MFC CEdit::SetSel() Pin
toxcct21-Jun-05 0:29
toxcct21-Jun-05 0:29 
GeneralRe: MFC CEdit::SetSel() Pin
ThatsAlok21-Jun-05 0:36
ThatsAlok21-Jun-05 0:36 
GeneralRe: MFC CEdit::SetSel() Pin
toxcct21-Jun-05 1:14
toxcct21-Jun-05 1:14 
GeneralWindows Service and wizard Pin
20-Jun-05 20:40
suss20-Jun-05 20:40 
GeneralRe: Windows Service and wizard Pin
Tom Archer20-Jun-05 21:30
Tom Archer20-Jun-05 21:30 
GeneralRe: Windows Service and wizard Pin
Nilesh K.20-Jun-05 21:41
Nilesh K.20-Jun-05 21:41 
GeneralRe: Windows Service and wizard Pin
Laji5920-Jun-05 23:14
Laji5920-Jun-05 23:14 
GeneralRe: Windows Service and wizard Pin
ThatsAlok20-Jun-05 21:44
ThatsAlok20-Jun-05 21:44 

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.