Click here to Skip to main content
15,890,527 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionExecute two classes Pin
darshic14-Jan-10 23:50
darshic14-Jan-10 23:50 
AnswerRe: Execute two classe Pin
Adam Roderick J15-Jan-10 0:05
Adam Roderick J15-Jan-10 0:05 
GeneralRe: Execute two classe Pin
darshic15-Jan-10 0:15
darshic15-Jan-10 0:15 
GeneralRe: Execute two classe Pin
Adam Roderick J15-Jan-10 0:24
Adam Roderick J15-Jan-10 0:24 
GeneralRe: Execute two classe Pin
Rajesh R Subramanian15-Jan-10 1:09
professionalRajesh R Subramanian15-Jan-10 1:09 
GeneralRe: Execute two classe Pin
Rajesh R Subramanian15-Jan-10 1:08
professionalRajesh R Subramanian15-Jan-10 1:08 
AnswerRe: Execute two classes Pin
CPallini15-Jan-10 0:19
mveCPallini15-Jan-10 0:19 
AnswerRe: Execute two classes Pin
Mattias G15-Jan-10 1:34
Mattias G15-Jan-10 1:34 
I would not recommend multi-threading. Don't go there, it won't do you any good. If you need to perform several tasks at once, you are MUCH better off using "idle time processing" using CWinApp::OnIdle() and calling Continue() in the worker object where you perform one little piece of work each time, using a state variable or similar.

Multi-threading should be avoided at all costs. It's hopeless to debug, a maintenance nightmare and you get absolutely no performance benefits from it, except in very special cases (number crunching on a multi CPU, low-level drivers or things like that). Do not use multi-threading, I cannot stress this enough. I speak from bitter experience Smile | :)
GeneralRe: Execute two classes Pin
Cedric Moonen15-Jan-10 2:23
Cedric Moonen15-Jan-10 2:23 
GeneralRe: Execute two classes Pin
Mattias G15-Jan-10 3:44
Mattias G15-Jan-10 3:44 
GeneralRe: Execute two classes Pin
Cedric Moonen15-Jan-10 4:07
Cedric Moonen15-Jan-10 4:07 
GeneralRe: Execute two classes Pin
Rajesh R Subramanian15-Jan-10 5:18
professionalRajesh R Subramanian15-Jan-10 5:18 
GeneralRe: Execute two classes Pin
CPallini15-Jan-10 5:42
mveCPallini15-Jan-10 5:42 
GeneralRe: Execute two classes Pin
Mattias G19-Jan-10 3:23
Mattias G19-Jan-10 3:23 
GeneralRe: Execute two classes Pin
CPallini19-Jan-10 3:29
mveCPallini19-Jan-10 3:29 
GeneralRe: Execute two classes Pin
CPallini15-Jan-10 2:44
mveCPallini15-Jan-10 2:44 
QuestionWorking with POP3 from Win32 application Pin
VictorSotnikov14-Jan-10 22:05
VictorSotnikov14-Jan-10 22:05 
AnswerRe: Working with POP3 from Win32 application Pin
«_Superman_»14-Jan-10 22:15
professional«_Superman_»14-Jan-10 22:15 
GeneralRe: Working with POP3 from Win32 application Pin
VictorSotnikov14-Jan-10 22:38
VictorSotnikov14-Jan-10 22:38 
GeneralRe: Working with POP3 from Win32 application Pin
Stuart Dootson14-Jan-10 22:54
professionalStuart Dootson14-Jan-10 22:54 
AnswerRe: Working with POP3 from Win32 application Pin
Moak14-Jan-10 22:57
Moak14-Jan-10 22:57 
AnswerRe: Working with POP3 from Win32 application Pin
Joe Woodbury15-Jan-10 6:06
professionalJoe Woodbury15-Jan-10 6:06 
GeneralRe: Working with POP3 from Win32 application Pin
VictorSotnikov17-Jan-10 22:06
VictorSotnikov17-Jan-10 22:06 
GeneralRe: Working with POP3 from Win32 application Pin
Joe Woodbury17-Jan-10 22:17
professionalJoe Woodbury17-Jan-10 22:17 
QuestionNeed help in creating c++ stubs. Pin
Maya_14-Jan-10 20:37
Maya_14-Jan-10 20:37 

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.