I'm aware this may not be the best place to report this bug, howeverI was unable to find a bug report form for IO issues. Perhaps one ofYou could be kind enough to forward this to the right people.ReadFile does not honor the Offset field of the OVERLAPPED structure,it just reads straight to offset zero in the buffer.This occurs on WinXP/SP2, when reading from a serial port.Presently I don't have resources to verify this is a problem inReadFile, and not in an underlying IO driver, but surely You do ;-)I attach a small (very early alpha) app that exhibits the error.The rar file contains the whole VC6 workspace and source.The app will be used to capture debug strings from a virtual machinerunning on VMware Server 2, via a 'com0com' virtual null modem.
Technology
Operating System