Click here to Skip to main content
15,896,606 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionVC++ AND MS ACCESS connection Pin
himuskanhere4-Sep-07 2:08
himuskanhere4-Sep-07 2:08 
AnswerRe: VC++ AND MS ACCESS connection Pin
chandu0044-Sep-07 2:30
chandu0044-Sep-07 2:30 
AnswerRe: VC++ AND MS ACCESS connection Pin
Hamid_RT4-Sep-07 3:38
Hamid_RT4-Sep-07 3:38 
QuestionHow to terminate a thread? Pin
kcynic4-Sep-07 0:52
kcynic4-Sep-07 0:52 
AnswerRe: How to terminate a thread? Pin
Roger Stoltz4-Sep-07 1:02
Roger Stoltz4-Sep-07 1:02 
GeneralRe: How to terminate a thread? Pin
kcynic4-Sep-07 1:15
kcynic4-Sep-07 1:15 
GeneralRe: How to terminate a thread? Pin
Cedric Moonen4-Sep-07 1:25
Cedric Moonen4-Sep-07 1:25 
GeneralRe: How to terminate a thread? Pin
Roger Stoltz4-Sep-07 1:51
Roger Stoltz4-Sep-07 1:51 
Use the technique described in Newcomer's article: wait for some handles to synchronization objects with a call to ::WaitForMultipleObjects() where one of them (preferably the first one for priority reasons) is signaled when the thread should terminate.

After you have set this event you should wait on the thread handle with ::WaitForSingleObject() to know when the thread has finished completely to be able to clean up the trhead object and other resources you have claimed for the thread.


"It's supposed to be hard, otherwise anybody could do it!" - selfquote
"High speed never compensates for wrong direction!" - unknown

AnswerRe: How to terminate a thread? Pin
aks.4-Sep-07 1:52
aks.4-Sep-07 1:52 
GeneralRe: How to terminate a thread? Pin
kcynic4-Sep-07 1:57
kcynic4-Sep-07 1:57 
GeneralRe: How to terminate a thread? Pin
Stephen Hewitt4-Sep-07 14:03
Stephen Hewitt4-Sep-07 14:03 
QuestionReadFile Pin
Waldermort4-Sep-07 0:32
Waldermort4-Sep-07 0:32 
AnswerRe: ReadFile Pin
Naveen4-Sep-07 1:44
Naveen4-Sep-07 1:44 
GeneralRe: ReadFile Pin
Nishad S4-Sep-07 2:18
Nishad S4-Sep-07 2:18 
GeneralRe: ReadFile Pin
Naveen4-Sep-07 2:23
Naveen4-Sep-07 2:23 
GeneralRe: ReadFile Pin
Waldermort4-Sep-07 3:09
Waldermort4-Sep-07 3:09 
QuestionWhy there would be a single line left on the screen when the dialog disapear? Pin
kcynic4-Sep-07 0:28
kcynic4-Sep-07 0:28 
QuestionRe: Why there would be a single line left on the screen when the dialog disapear? Pin
Mark Salsbery4-Sep-07 5:45
Mark Salsbery4-Sep-07 5:45 
AnswerRe: Why there would be a single line left on the screen when the dialog disapear? Pin
kcynic4-Sep-07 17:36
kcynic4-Sep-07 17:36 
QuestionRe: Why there would be a single line left on the screen when the dialog disapear? Pin
Mark Salsbery5-Sep-07 5:01
Mark Salsbery5-Sep-07 5:01 
AnswerRe: Why there would be a single line left on the screen when the dialog disapear? Pin
kcynic5-Sep-07 14:28
kcynic5-Sep-07 14:28 
QuestionHow to get Serial Number of Motherboard Pin
nps_ltv3-Sep-07 23:56
nps_ltv3-Sep-07 23:56 
AnswerRe: How to get Serial Number of Motherboard Pin
chandu0044-Sep-07 0:16
chandu0044-Sep-07 0:16 
GeneralRe: How to get Serial Number of Motherboard Pin
nps_ltv4-Sep-07 1:11
nps_ltv4-Sep-07 1:11 
GeneralRe: How to get Serial Number of Motherboard Pin
chandu0044-Sep-07 2:23
chandu0044-Sep-07 2:23 

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.