Click here to Skip to main content
15,889,335 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: CString to const unsigned char * [modified] Pin
mesajflaviu7-May-10 23:54
mesajflaviu7-May-10 23:54 
QuestionRe: CString to const unsigned char * Pin
David Crow10-May-10 4:26
David Crow10-May-10 4:26 
AnswerRe: CString to const unsigned char * Pin
wangningyu10-May-10 4:34
wangningyu10-May-10 4:34 
GeneralRe: CString to const unsigned char * Pin
David Crow10-May-10 4:49
David Crow10-May-10 4:49 
AnswerRe: CString to const unsigned char * Pin
Richard MacCutchan8-May-10 1:16
mveRichard MacCutchan8-May-10 1:16 
GeneralRe: CString to const unsigned char * Pin
mesajflaviu8-May-10 2:01
mesajflaviu8-May-10 2:01 
QuestionMFC SDI based project reading virtual serial port: uses worker thread for reading data Pin
harinathcau7-May-10 21:16
harinathcau7-May-10 21:16 
AnswerRe: MFC SDI based project reading virtual serial port: uses worker thread for reading data [modified] Pin
Jonathan Davies8-May-10 2:18
Jonathan Davies8-May-10 2:18 
From what you've posted it looks as if your program:

Enters new thread at ClientThreadProc.

Calls SerialPortContinuousRead which presumably completes and returns a string when it receives one.

Sends the string to the handler using SendMessage doesn't return until the handler completes (Consider PostMessage).

ClientThreadProc then ends.

To read more than one message try a loop within ClientThreadProc or SerialPortContinuousRead and post (or Send) messages from there rather than returning the message from SerialPortContinuousRead and then exiting the threadproc.

modified on Saturday, May 8, 2010 8:24 AM

QuestionSetting up a WindowsAPI project Pin
Tiberiu117-May-10 21:06
Tiberiu117-May-10 21:06 
AnswerRe: Setting up a WindowsAPI project Pin
Software_Developer8-May-10 20:48
Software_Developer8-May-10 20:48 
GeneralRe: Setting up a WindowsAPI project Pin
Tiberiu118-May-10 21:23
Tiberiu118-May-10 21:23 
GeneralRe: in the child window's message pump Pin
Software_Developer9-May-10 8:47
Software_Developer9-May-10 8:47 
QuestionNeed Help : My CHttpFile::SendRequest() , timeouts when sending data to google translator Pin
m_code7-May-10 20:24
m_code7-May-10 20:24 
AnswerRe: Need Help : My CHttpFile::SendRequest() , timeouts when sending data to google translator Pin
Randor 9-May-10 10:22
professional Randor 9-May-10 10:22 
GeneralRe: Need Help : My CHttpFile::SendRequest() , timeouts when sending data to google translator Pin
m_code10-May-10 18:52
m_code10-May-10 18:52 
GeneralRe: Need Help : My CHttpFile::SendRequest() , timeouts when sending data to google translator Pin
Randor 11-May-10 16:40
professional Randor 11-May-10 16:40 
GeneralRe: Need Help : My CHttpFile::SendRequest() , timeouts when sending data to google translator Pin
m_code12-May-10 4:23
m_code12-May-10 4:23 
QuestionNumber Conversion Octal to Hexadecimal Pin
djsproject7-May-10 17:49
djsproject7-May-10 17:49 
AnswerRe: Number Conversion Octal to Hexadecimal Pin
Tim Craig7-May-10 19:36
Tim Craig7-May-10 19:36 
AnswerRe: Number Conversion Octal to Hexadecimal Pin
Richard MacCutchan7-May-10 22:37
mveRichard MacCutchan7-May-10 22:37 
GeneralRe: Number Conversion Octal to Hexadecimal Pin
djsproject8-May-10 17:39
djsproject8-May-10 17:39 
GeneralRe: Number Conversion Octal to Hexadecimal Pin
Emilio Garavaglia10-May-10 5:02
Emilio Garavaglia10-May-10 5:02 
QuestionHow to get PNP Device Id Pin
Jaligamap7-May-10 9:17
Jaligamap7-May-10 9:17 
AnswerRe: How to get PNP Device Id Pin
Randor 9-May-10 10:16
professional Randor 9-May-10 10:16 
GeneralRe: How to get PNP Device Id Pin
pacchij11-May-10 10:41
pacchij11-May-10 10:41 

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.