[Bug 41432] Keyboard input code display program (Japanese VB6 application) doesn't run.

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Oct 3 09:17:57 CDT 2016


https://bugs.winehq.org/show_bug.cgi?id=41432

--- Comment #1 from Sagawa <sagawa.aki+winebugs at gmail.com> ---
WINEDEBUG=relay shows this issue seems to be caused by lacking of
LCMAP_HALFWIDTH support in LCMapString function:

; LCMAP_HALFWIDTH(0x00400000) makes half-width character. In this case, the
result is 2 bytes including null byte.
0009:Call KERNEL32.LCMapStringA(00000411,00600100,0033fb20
"\x82",00000002,0033fb12,00000002) ret=6607e27e
; Lacking LCMAP_HALFWIDTH implementation, it requires three bytes under wine
;  --> LCMapStringA fails due to insufficient buffer.
0009: Ret  KERNEL32.LCMapStringA() retval=00000000 ret=6607e27e
; error handling is started...
0009: Call KERNEL32.GetLastError() ret=66072d3f
0009: Ret  KERNEL32.GetLastError() retval=0000007c ret=66072d3f
0009: Call ntdll.RtlAllocateHeap(00920000,00000000,00000400) ret=66072899
0009: Ret  ntdll.RtlAllocateHeap() retval=00921170 ret=66072899
0009: Call user32.LoadStringA(66630000,000059da,00921170,00000400) ret=66072c1a
0009: Ret  user32.LoadStringA() retval=00000021 ret=66072c1a

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list