http://bugs.winehq.org/show_bug.cgi?id=2509
Summary: ReadConsoleA returning wrong length Product: Wine Version: 20040914 Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: wine-console AssignedTo: wine-bugs@winehq.org ReportedBy: jdaviestx@comcast.net
I'm using Wine to run a really simple console application (part of a course I'm taking on Assembler programming), and I've noticed that the following MASM code:
INVOKE ReadConsoleA, consoleInHandle, edx, ecx, OFFSET bytesRead, 0
(with, obviously, edx & ecx set to a buffer & its length, respectively) is returning one less character in bytesRead than I actually typed. I'm trying to wend my way through winedbg and figure this out myself, but if the gurus could offer any assistance, I'd appreciate it.