Click here to Skip to main content
15,887,336 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: serial port sniffer Pin
Cedric Moonen1-Mar-06 20:48
Cedric Moonen1-Mar-06 20:48 
GeneralRe: serial port sniffer Pin
szilics1-Mar-06 21:34
szilics1-Mar-06 21:34 
GeneralRe: serial port sniffer Pin
James Brown1-Mar-06 22:29
James Brown1-Mar-06 22:29 
GeneralRe: serial port sniffer Pin
szilics1-Mar-06 23:22
szilics1-Mar-06 23:22 
AnswerRe: serial port sniffer Pin
Rick York1-Mar-06 21:32
mveRick York1-Mar-06 21:32 
QuestionMultithreading Pin
Waldermort1-Mar-06 20:34
Waldermort1-Mar-06 20:34 
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 

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.