Click here to Skip to main content
15,947,957 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionWhitebox Testing Pin
Super Hornet14-Apr-10 6:08
Super Hornet14-Apr-10 6:08 
AnswerRe: Whitebox Testing Pin
«_Superman_»14-Apr-10 8:04
professional«_Superman_»14-Apr-10 8:04 
GeneralRe: Whitebox Testing Pin
Super Hornet22-Apr-10 3:39
Super Hornet22-Apr-10 3:39 
QuestionRe: Whitebox Testing Pin
CPallini14-Apr-10 9:00
mveCPallini14-Apr-10 9:00 
AnswerRe: Whitebox Testing Pin
Super Hornet22-Apr-10 3:35
Super Hornet22-Apr-10 3:35 
AnswerRe: Whitebox Testing Pin
ThatsAlok14-Apr-10 18:22
ThatsAlok14-Apr-10 18:22 
GeneralRe: Whitebox Testing Pin
Super Hornet22-Apr-10 3:38
Super Hornet22-Apr-10 3:38 
QuestionWorker thread Pin
msr_codeproject14-Apr-10 3:18
msr_codeproject14-Apr-10 3:18 
Hi.. I am writing a RS-232 application with one worker thread. Please tell me what is the best method for invoking the AfxBeginThread. My ideas are,

1. Using SetTimer() method handle it in OnTimer

2. While(1) which is infinite loop

I thought both these methods are not efficient enough. Please tell me any other method for invoking AfxBeginThread.

Thanks in advance
msr_codeproject
QuestionRe: Worker thread Pin
CPallini14-Apr-10 3:24
mveCPallini14-Apr-10 3:24 
AnswerRe: Worker thread Pin
msr_codeproject14-Apr-10 3:30
msr_codeproject14-Apr-10 3:30 
GeneralRe: Worker thread Pin
Cedric Moonen14-Apr-10 4:16
Cedric Moonen14-Apr-10 4:16 
GeneralRe: Worker thread Pin
Maximilien14-Apr-10 4:44
Maximilien14-Apr-10 4:44 
GeneralRe: Worker thread Pin
CPallini14-Apr-10 5:15
mveCPallini14-Apr-10 5:15 
GeneralRe: Worker thread Pin
Maximilien14-Apr-10 5:17
Maximilien14-Apr-10 5:17 
GeneralRe: Worker thread Pin
CPallini14-Apr-10 5:28
mveCPallini14-Apr-10 5:28 
JokeRe: Worker thread Pin
Code-o-mat14-Apr-10 5:55
Code-o-mat14-Apr-10 5:55 
AnswerRe: Worker thread Pin
KarstenK14-Apr-10 3:34
mveKarstenK14-Apr-10 3:34 
AnswerRe: Worker thread Pin
David Crow14-Apr-10 3:53
David Crow14-Apr-10 3:53 
AnswerRe: Worker thread Pin
ThatsAlok14-Apr-10 18:25
ThatsAlok14-Apr-10 18:25 
GeneralRe: Worker thread Pin
msr_codeproject14-Apr-10 19:39
msr_codeproject14-Apr-10 19:39 
GeneralRe: Worker thread Pin
David Crow15-Apr-10 3:22
David Crow15-Apr-10 3:22 
Questionthe question of "sizeof"! Pin
wbgxx14-Apr-10 3:09
wbgxx14-Apr-10 3:09 
AnswerRe: the question of "sizeof"! Pin
David Crow14-Apr-10 3:14
David Crow14-Apr-10 3:14 
AnswerRe: the question of "sizeof"! Pin
Chris Losinger14-Apr-10 3:16
professionalChris Losinger14-Apr-10 3:16 
AnswerRe: the question of "sizeof"! Pin
Stephen Hewitt14-Apr-10 3:16
Stephen Hewitt14-Apr-10 3:16 

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.