Re: no GetOverlappedResult?

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Hi Chris,

I had to think about that for a bit.

I presume I would have to have one port open for reading and another port
open for writing. Correct?

How would I do this?

Opening "COM1:" for reading using CreateFile returns a HANDLE.

Opening "COM2:" for writing using CreateFile return a different HANDLE.

I can create a Read Thread and a Write Thread, but how would I use the same
HANDLE for each of these?

"<ctacke/>" wrote
CE doesn't support overlapped IO, so the omission is because it's not
supported.

Typically overlapped I/O can be handled with multiple threads using the
same handle.


--
Chris Tacke - Embedded MVP
OpenNETCF Consulting
Managed Code in the Embedded World
www.opennetcf.com


.



Relevant Pages