Breaking out of WaitCommEvent in CE 5.0

From: Gene Chang (gchang_nospam__at_stonestreetone.com)
Date: 12/30/04


Date: Thu, 30 Dec 2004 14:47:10 -0500

My read thread has a call to WaitCommEvent that used to get an event
when I closed the port using CloseHandle. This worked for CE 3.0 and
4.2. Now I loaded my app on a 5.0 device and it doesn't seem to
return. Does anyone know if there were any changes in 5.0 for this?
I didn't see anything about it in the documentation.

Thanks.

Gene Chang



Relevant Pages

  • Breaking out of WaitCommEvent in CE 5.0
    ... My read thread has a call to WaitCommEvent that used to get an event ... when I closed the port using CloseHandle. ... Gene Chang ...
    (microsoft.public.windowsce.embedded.vc)
  • Breaking out of WaitCommEvent in CE 5.0
    ... My read thread has a call to WaitCommEvent that used to get an event ... when I closed the port using CloseHandle. ... Gene Chang ...
    (microsoft.public.windowsce.embedded)
  • Breaking out of WaitCommEvent in CE 5.0
    ... My read thread has a call to WaitCommEvent that used to get an event ... when I closed the port using CloseHandle. ... Gene Chang ...
    (microsoft.public.windowsce.app.development)
  • Re: WaitCommEvent
    ... I think when you close the port, WaitCommEvent unblocks. ... > In my GPS program I've been testing with two different GPS units, ...
    (microsoft.public.dotnet.framework.compactframework)
  • serial communication problem
    ... Port 0 --COM1. ... the keep calling readFile operation. ... WaitCommEvent never received the notification for EV_RXCHAR event. ...
    (microsoft.public.pocketpc.developer)