"Ambroz Bizjak" <am...@ambro.homelinux.net> wrote: > What about an assertion right before the following line: > *lpTransferred = lpOverlapped->InternalHigh;
That will make the behaviour incompatible with Windows by generating wrong exception code. > This way it will still "crash" in the same circumstances, but will make it > easier to debug programs. In which way will it make easier in debugging? -- Dmitry.