Click here to Skip to main content
15,903,724 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Multithreading Pin
Naveen1-Mar-06 20:46
Naveen1-Mar-06 20:46 
GeneralRe: Multithreading Pin
Stephen Hewitt1-Mar-06 22:23
Stephen Hewitt1-Mar-06 22:23 
In most cases calling CreateThread is a bad idea - In fact it is probably the first and most common error programmers make when writing a multithreaded program. You should use _beginthread or _beginthreadex - or AfxBeginThread in an MFC application. If you don't call these functions certain structures are not initialized for the thread. For example floating point math may not work and calling CRT functions may not work. The moral of the story is that you shouldn't use CreateThread unless the thread calls only win32 functions, doesn't use floating point and also doesn't call CRT functions.

Steve
GeneralRe: Multithreading Pin
Naveen1-Mar-06 23:28
Naveen1-Mar-06 23:28 
AnswerRe: Multithreading Pin
Cedric Moonen1-Mar-06 21:00
Cedric Moonen1-Mar-06 21:00 
GeneralRe: Multithreading Pin
Waldermort1-Mar-06 21:54
Waldermort1-Mar-06 21:54 
GeneralRe: Multithreading Pin
Cedric Moonen1-Mar-06 22:19
Cedric Moonen1-Mar-06 22:19 
AnswerRe: Multithreading Pin
Joe Woodbury1-Mar-06 21:20
professionalJoe Woodbury1-Mar-06 21:20 
Questionc++ Pin
yaaqub1-Mar-06 20:28
yaaqub1-Mar-06 20:28 
AnswerRe: c++ Pin
Nibu babu thomas1-Mar-06 20:33
Nibu babu thomas1-Mar-06 20:33 
AnswerRe: c++ Pin
Stephen Hewitt1-Mar-06 22:28
Stephen Hewitt1-Mar-06 22:28 
QuestionCombo box height is not increasing Pin
BiswaR1-Mar-06 19:45
BiswaR1-Mar-06 19:45 
AnswerRe: Combo box height is not increasing Pin
Naveen1-Mar-06 20:42
Naveen1-Mar-06 20:42 
QuestionUsing Serial Port communication for dialog based application Pin
BeakX1-Mar-06 19:44
BeakX1-Mar-06 19:44 
AnswerRe: Using Serial Port communication for dialog based application Pin
Cedric Moonen1-Mar-06 20:26
Cedric Moonen1-Mar-06 20:26 
GeneralRe: Using Serial Port communication for dialog based application Pin
Rick York1-Mar-06 21:50
mveRick York1-Mar-06 21:50 
GeneralRe: Using Serial Port communication for dialog based application Pin
Cedric Moonen1-Mar-06 22:00
Cedric Moonen1-Mar-06 22:00 
Questionhow to show images on window and move. Pin
baldha rakesh1-Mar-06 19:19
baldha rakesh1-Mar-06 19:19 
AnswerRe: how to show images on window and move. Pin
Nibu babu thomas1-Mar-06 19:54
Nibu babu thomas1-Mar-06 19:54 
GeneralRe: how to show images on window and move. Pin
baldha rakesh1-Mar-06 20:14
baldha rakesh1-Mar-06 20:14 
QuestionHow to test the MTTTY example of serial comm in Win32 console? Pin
pkyiu1-Mar-06 19:17
pkyiu1-Mar-06 19:17 
QuestionHow to convert exe to dll Pin
BicycleTheif1-Mar-06 18:38
BicycleTheif1-Mar-06 18:38 
AnswerRe: How to convert exe to dll Pin
Naveen1-Mar-06 18:49
Naveen1-Mar-06 18:49 
Questionrelated to images Pin
baldha rakesh1-Mar-06 17:19
baldha rakesh1-Mar-06 17:19 
AnswerRe: related to images Pin
Nibu babu thomas1-Mar-06 17:36
Nibu babu thomas1-Mar-06 17:36 
AnswerRe: related to images Pin
Naveen1-Mar-06 17:39
Naveen1-Mar-06 17:39 

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.