I've been trying to use Named Pipes with overlapping I/O but
have been having a small problem. I've created the pipe with
a call to CreateNamedPipe and specifying the FILE_FLAG_OVERLAPPED
flag. I then call ConnectNamedPipe and pass an OVERLAPPED
structure with a manual event object handle in the hEvent member.
I wait on the event and it gets signaled when a connection
arrives is made from another test program I run.
The problem happens when I then try to read from the pipe. The
call to ReadFile is returning the error:
Overlapped I/O event is not in a signalled state.
Could someone tell me what I'm doing wrong?
W. Dave Rathnow
Interprovincial Satellite Services Ltd.