[Bug 2509] New: ReadConsoleA returning wrong length

Wine Bugs wine-bugs at winehq.org
Mon Oct 11 17:21:06 CDT 2004


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 at winehq.org
        ReportedBy: jdaviestx at 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.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the wine-bugs mailing list