I have been looking at those two functions and some specs. My understanding
is that those function do not work at all in overlapped (async mode). Currently
(latest stuff in CVS), both function handle overlap mode like this

a)      Give it a try in synchronous mode using a combination
        of pread/read and pwrite/write.

b)      If not enough bytes were read or written, a request
        is sent to wineserver to perform and asynchronous
        operation. This request always fail. (don't know why yet).

There is two problem here. If step a succeed, no event will ever be
generated since step be is not performed. Application doing the following
sequence

        ReadFile
        ..
        WaitOnSingleObject

will wait forever. Some borland Builder classes do this

My understanding is that step a should never be done and only step b.
Is that correct ?

Now, why step b is failing is another story.

Comments ?

---------------------------------------------------------
Jacques Gelinas <[EMAIL PROTECTED]>
vserver: run general purpose virtual servers on one box, full speed!
http://www.solucorp.qc.ca/miscprj/s_context.hc

Reply via email to