Click here to Skip to main content
15,905,508 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: confused about system stack [modified] Pin
Viorel.5-Jun-06 3:18
Viorel.5-Jun-06 3:18 
GeneralRe: confused about system stack [modified] Pin
George_George5-Jun-06 3:38
George_George5-Jun-06 3:38 
GeneralRe: confused about system stack [modified] Pin
Viorel.5-Jun-06 3:58
Viorel.5-Jun-06 3:58 
GeneralRe: confused about system stack [modified] Pin
George_George6-Jun-06 19:07
George_George6-Jun-06 19:07 
GeneralRe: confused about system stack [modified] Pin
Viorel.6-Jun-06 20:58
Viorel.6-Jun-06 20:58 
GeneralRe: confused about system stack [modified] Pin
George_George6-Jun-06 21:21
George_George6-Jun-06 21:21 
QuestionQuaternion rotation Pin
lastgen4-Jun-06 22:43
lastgen4-Jun-06 22:43 
Questionhow to structure my program?? Pin
Nawar_nrr4-Jun-06 22:41
Nawar_nrr4-Jun-06 22:41 
Im developing a C++ software on winXP that send and receive SMS using serial port GSM modem..
my stucture now is using two threads ..

1.The first one to write to port and other operations(buttons,funs,..)
2.The second one is to read from port ,it blocks untill there is some thing to be read.

now I want my program to show a message whenever there is a new SMS(the modem notify when there is new SMS automaticilly)

should I make another thread to check the buffer after its read from the reading thread?
or should i implement the check inside the reading thread?

remember that checking for new SMS would be blocking the thread its in sinse its implemented in while loop and/or WaitForSingleObject (using events)

any suggestions?
thanks...
AnswerRe: how to structure my program?? Pin
Blake Miller6-Jun-06 5:07
Blake Miller6-Jun-06 5:07 
Questionevent socket model question Pin
followait4-Jun-06 22:14
followait4-Jun-06 22:14 
GeneralRe: Does event socket model have to wait for events in another thread in an interactive app? [modified] Pin
Sarath C4-Jun-06 22:25
Sarath C4-Jun-06 22:25 
GeneralRe: Does event socket model have to wait for events in another thread in an interactive app? [modified] Pin
followait4-Jun-06 22:50
followait4-Jun-06 22:50 
QuestionStrange spin button control problem Pin
David L.S.4-Jun-06 21:33
David L.S.4-Jun-06 21:33 
AnswerRe: Strange spin button control problem Pin
PJ Arends4-Jun-06 21:54
professionalPJ Arends4-Jun-06 21:54 
GeneralRe: Strange spin button control problem Pin
David L.S.4-Jun-06 22:55
David L.S.4-Jun-06 22:55 
QuestionPlease help with recordset Pin
SWDevil4-Jun-06 21:09
SWDevil4-Jun-06 21:09 
QuestionDirectX functions - Graphics card Pin
velayudhan_raj4-Jun-06 21:01
velayudhan_raj4-Jun-06 21:01 
AnswerRe: DirectX functions - Graphics card Please help me, Its URGENT Pin
velayudhan_raj4-Jun-06 22:20
velayudhan_raj4-Jun-06 22:20 
QuestionLooking for data structures for long integer Pin
George_George4-Jun-06 20:33
George_George4-Jun-06 20:33 
AnswerRe: Looking for data structures for long integer Pin
Maxwell Chen4-Jun-06 21:03
Maxwell Chen4-Jun-06 21:03 
GeneralRe: Looking for data structures for long integer Pin
George_George4-Jun-06 21:15
George_George4-Jun-06 21:15 
AnswerRe: Looking for data structures for long integer Pin
Maxwell Chen4-Jun-06 21:46
Maxwell Chen4-Jun-06 21:46 
GeneralRe: Looking for data structures for long integer Pin
George_George4-Jun-06 22:15
George_George4-Jun-06 22:15 
Questionopen file dialog Pin
iLL eFFect4-Jun-06 20:25
iLL eFFect4-Jun-06 20:25 
AnswerRe: open file dialog Pin
Hamid_RT4-Jun-06 20:37
Hamid_RT4-Jun-06 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.