-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
today when i run warcraft3 demo, i have a crash in imm32!
here are the traces:
- -=(FeniX as fenix@DarkBluE)-(on tty1)-(at 10:00:12)=-
-={$:'/usr/src/wine/Program Files/Warcraft III Demo'}=->wine --debugmsg +imm
War3Demo.exe
trace:imm:DllMain 0x42120000, 1, (nil)
trace:imm:DllMain 0x42120000, 2, (nil)
trace:imm:DllMain 0x42120000, 2, (nil)
fixme:d3d:IDirect3D8Impl_CreateDevice Requested full screen support not
implemented, expect windowed operation
fixme:d3d:IDirect3D8Impl_CheckDeviceFormat (0x404309b8)->(Adptr:0, DevType: 1,
AdptFmt: 23, Use: 0, ResTyp: 3, CheckFmt: 21)
trace:imm:DllMain 0x42120000, 2, (nil)
trace:imm:DllMain 0x42120000, 2, (nil)
trace:imm:DllMain 0x42120000, 2, (nil)
trace:imm:DllMain 0x42120000, 2, (nil)
fixme:win32:CreateIoCompletionPort (0xffffffff, (nil), 00000000, 00000000):
stub.
trace:imm:DllMain 0x42120000, 2, (nil)
trace:imm:DllMain 0x42120000, 2, (nil)
fixme:imm:ImmGetContext (0x10021): stub
fixme:imm:ImmGetOpenStatus ((nil)): semi-stub
looking a the code i can see:
/***********************************************************************
* ImmGetContext (IMM32.@)
*/
HIMC WINAPI ImmGetContext(HWND hWnd)
{
FIXME("(%p): stub\n", hWnd);
return (HIMC)root_context;
}
/***********************************************************************
* ImmGetOpenStatus (IMM32.@)
*/
BOOL WINAPI ImmGetOpenStatus(HIMC hIMC)
{
InputContextData *data = (InputContextData*)hIMC;
FIXME("(%p): semi-stub\n", hIMC);
return data->bOpen;
}
with the debugger attached, i can see that data is NULL;
Why ?
Because root_context is a static var init to NULL!!!!
And it can be only valued by ImmAssociateContext (who isn't called as seen in
traces)
Anyone have an idea why its broken today ?
Regards,
Raphael
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
iD8DBQE+wfllp7NA3AmQTU4RAqHkAJ0cwjkFganWJfl1/I5zPxw83Wn+rACghKCz
wEG3EUf9KONNQucVLO3wfT4=
=kX2/
-----END PGP SIGNATURE-----