Is the calling thread in an alertable wait state?
This is from the Win32 online reference:
"If the function succeeds, and the file reading operation completes,
but the calling thread is not in an alertable wait state, the system
queues the completion routine call, holding the call until the calling
thread enters an alertable wait state..."
Good luck.
Peter Lohmann
peter....@sandiegoca.attgis.com
Software Engineer
AT&T Global Information Solutions
/* I speak only for myself. */
Yes, I read and write to the comm port using ReadFileEx and WriteFileEx. For
the completion routine to be invoked you need to go into a wait state. I use
SleepEx().
--
Stephen Estes
ses...@onramp.com