Re: Asynchronous I/O development in CE



Use separate threads for the overlapped parts. There's no restriction in
Windows CE on different threads in your application sending or receiving
data from a serial port (although it's obviously going to be somewhat
strange if you have several threads receiving data).

Paul T.

"shiva" <shiva@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:07370246-8A3B-4FBF-B958-63AE3684910B@xxxxxxxxxxxxxxxx
Hi,

I got that asynchronous serial communication is supported but overlapped
I/O
is not supported. Thanks for the information.

I have a serial communication application(ATL Free threading model based)
that is developed for desktop side and I ported it to Win CE but that uses
overlapped I/O and it is necessary to have that functionality. The
application uses GetOverlappedResult and CancelIo API's but that doesnot
support in Win Ce.

What changes I should make to the application to support overlapped I/O.
If
anyone is having a sample application on how to implement overapped I/O in
Win CE, please provide me.
Your help on this is greatly appreciated.

--
Software Engineer


"shiva" wrote:

Hi All,

I'm developing an serial communication application for a CE 3.0 hand
held
device where it requires asynchronous I/O but I know that CE doesn't
support
it.
How should I go ahead to implement now? Should I ask my OEM to provide a
serial driver that supports asynchronous functinality? The other device
that
we are communicating with the CE hand held does require asynchronous I/O
communication.

--
Software Engineer


.



Relevant Pages

  • Re: Asynchronous I/O development in CE
    ... Software Engineer ... I have a serial communication application ... overlapped I/O and it is necessary to have that functionality. ... What changes I should make to the application to support overlapped I/O. ...
    (microsoft.public.windowsce.embedded)
  • Re: Asynchronous I/O development in CE
    ... Open the port with a call to OpenFile and store the handle. ... I have a serial communication application(ATL Free threading model ... overlapped I/O and it is necessary to have that functionality. ... What changes I should make to the application to support overlapped ...
    (microsoft.public.windowsce.embedded)
  • Re: asynchronous serial communication in CE
    ... tobey no spam AT no instrument no spam DOT com> wrote: ... Maybe the OP is confused by lack of support for overlapped i/o. ... we are communicating with the CE hand held does require asynchronous I/O ...
    (microsoft.public.windowsce.app.development)
  • Re: Asynchronous I/O development in CE
    ... Asynchronous I/O is supported. ... I'm developing an serial communication application for a CE 3.0 hand held ...
    (microsoft.public.windowsce.embedded)
  • Re: asynchronous serial communication in CE
    ... Doesn't support it? ... I'm developing an serial communication application for a CE 3.0 hand held ... we are communicating with the CE hand held does require asynchronous I/O ...
    (microsoft.public.windowsce.app.development)