Click here to Skip to main content
16,014,748 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Help Pin
CPallini23-Jul-08 22:57
mveCPallini23-Jul-08 22:57 
AnswerRe: Help Pin
Rajesh R Subramanian24-Jul-08 0:12
professionalRajesh R Subramanian24-Jul-08 0:12 
GeneralRe: Help Pin
CPallini24-Jul-08 2:51
mveCPallini24-Jul-08 2:51 
QuestionRe: Help Pin
David Crow24-Jul-08 3:10
David Crow24-Jul-08 3:10 
QuestionMutiple port read/write in VC++ Pin
sunny_vc23-Jul-08 21:20
sunny_vc23-Jul-08 21:20 
AnswerRe: Mutiple port read/write in VC++ Pin
Cedric Moonen23-Jul-08 21:23
Cedric Moonen23-Jul-08 21:23 
GeneralRe: Mutiple port read/write in VC++ Pin
sunny_vc23-Jul-08 21:41
sunny_vc23-Jul-08 21:41 
GeneralRe: Mutiple port read/write in VC++ Pin
Cedric Moonen23-Jul-08 21:45
Cedric Moonen23-Jul-08 21:45 
sunilkumar.d wrote:
If i want to communciate with 10 ports, then i need to create 10 threads??


Depends on how you are reading the data but it makes sense yes. Alternatively you could also use overlapped IO but it is a bit more complicated to do. In overlapped IO, you have an event for each port that gets notified when data comes in. Then you could wait for 10 events at the same time in one thread.
But both solutions are fine and it depends also what you need to achieve...

Cédric Moonen
Software developer

Charting control [v1.4]
OpenGL game tutorial in C++

GeneralRe: Mutiple port read/write in VC++ Pin
killabyte23-Jul-08 22:23
killabyte23-Jul-08 22:23 
Questionhow to handle Vertical scrollBar in a DialogBar Pin
pallaka23-Jul-08 21:12
pallaka23-Jul-08 21:12 
AnswerRe: how to handle Vertical scrollBar in a DialogBar Pin
Cedric Moonen23-Jul-08 21:55
Cedric Moonen23-Jul-08 21:55 
Questionerror C2248: 'query' - trying to access protected members of base class from thread Pin
ptr_Electron23-Jul-08 21:08
ptr_Electron23-Jul-08 21:08 
AnswerRe: error C2248: 'query' - trying to access protected members of base class from thread Pin
Cedric Moonen23-Jul-08 21:16
Cedric Moonen23-Jul-08 21:16 
GeneralRe: error C2248: 'query' - trying to access protected members of base class from thread Pin
ptr_Electron23-Jul-08 21:26
ptr_Electron23-Jul-08 21:26 
AnswerRe: error C2248: 'query' - trying to access protected members of base class from thread Pin
David Crow24-Jul-08 3:14
David Crow24-Jul-08 3:14 
QuestionFAQ Pin
pooja_friends23-Jul-08 20:57
pooja_friends23-Jul-08 20:57 
AnswerRe: FAQ Pin
Cedric Moonen23-Jul-08 21:03
Cedric Moonen23-Jul-08 21:03 
AnswerRe: FAQ Pin
CPallini23-Jul-08 21:12
mveCPallini23-Jul-08 21:12 
AnswerRe: FAQ Pin
David Crow24-Jul-08 3:15
David Crow24-Jul-08 3:15 
Questionremove system default icon from message box Pin
VCProgrammer23-Jul-08 20:54
VCProgrammer23-Jul-08 20:54 
AnswerRe: remove system default icon from message box Pin
Cedric Moonen23-Jul-08 21:01
Cedric Moonen23-Jul-08 21:01 
GeneralRe: remove system default icon from message box Pin
VCProgrammer23-Jul-08 21:09
VCProgrammer23-Jul-08 21:09 
GeneralRe: remove system default icon from message box Pin
Cedric Moonen23-Jul-08 21:26
Cedric Moonen23-Jul-08 21:26 
Questionrunas Pin
pooja_friends23-Jul-08 20:51
pooja_friends23-Jul-08 20:51 
AnswerRe: runas Pin
Naveen23-Jul-08 21:07
Naveen23-Jul-08 21:07 

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.