[Bug 21307] Keyboard layout error on IDA Pro 4.9

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Jan 15 12:29:20 CST 2010


--- Comment #5 from Alex <cerebro.alexiel at gmail.com>  2010-01-15 12:29:20 ---
Created an attachment (id=25742)
 --> (http://bugs.winehq.org/attachment.cgi?id=25742)
A simple testcase

I did WINEDEBUG=+relay wine idag.exe > relay.log 2>&1 and found this
0009:Call user32.VkKeyScanA(00000023) ret=00442274
0009:Ret  user32.VkKeyScanA() retval=0000ffff ret=00442274
0009:Call user32.DrawTextA(000005cc,00c75594 "Keyboard layout error:\nFailed to
get the scan code of '#'\n(VkKeyScan failure)",0000004d,0032d2cd,00000440)

So VkKeyScanA('#') fails as described in the message.

Compiling the testcase on windows (XP, cygwin, gcc) gives
VkKeyScanA('#') :: 1587

IsDBCSLeadByte('#') :: 0
cChar #  Wchar #
VkKeyScanExW() :: 1587

and on my system (KUbuntu, winegcc) :
VkKeyScanA('#') :: -1

IsDBCSLeadByte('#') :: 0
cChar #  Wchar #
VkKeyScanExW() :: 65535

So USER_Driver->pVkKeyScanEx(cChar, dwhkl) fails.

Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
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