http://bugs.winehq.org/show_bug.cgi?id=11569
--- Comment #2 from Anastasius Focht focht@gmx.net 2008-02-16 17:55:46 --- Created an attachment (id=10815) --> (http://bugs.winehq.org/attachment.cgi?id=10815) patch which fixes MS Project 2003 crash (ImmInternalSendIMENotify should target focused window first)
Hello,
looks like imm32 bug.
--- snip --- .. 0014:Call imm32.ImmGetContext(00120026) ret=30001214 0014:trace:imm:ImmGetContext 0x120026 0014:Ret imm32.ImmGetContext() retval=0013b650 ret=30001214 0014:Call imm32.ImmGetOpenStatus(0013b650) ret=300043ba 0014:fixme:imm:ImmGetOpenStatus (0x13b650): semi-stub 0014:Ret imm32.ImmGetOpenStatus() retval=00000000 ret=300043ba 0014:Call imm32.ImmSetOpenStatus(0013b650,00000001) ret=300eb5bc 0014:trace:imm:ImmSetOpenStatus 0x13b650 1 0014:Call user32.GetFocus() ret=68fe65f6 0014:Ret user32.GetFocus() retval=00190036 ret=68fe65f6 0014:Call user32.PostMessageW(00190036,0000010d,00000000,00000000) ret=68fe6611 0014:Ret user32.PostMessageW() retval=00000001 ret=68fe6611 0014:trace:imm:ImmInternalSetOpenStatus Setting internal state to OPEN 0014:Call user32.SendMessageW(00120026,00000282,00000008,00000000) ret=68fe66d3 0014:Call window proc 0x3000129f (hwnd=0x120026,msg=WM_IME_NOTIFY,wp=00000008,lp=00000000) 0014:Call user32.GetWindowLongW(00120026,00000000) ret=300010e0 0014:Ret user32.GetWindowLongW() retval=0016b4a0 ret=300010e0 0014:Call user32.GetWindowLongW(00120026,00000000) ret=300010aa 0014:Ret user32.GetWindowLongW() retval=0016b4a0 ret=300010aa 0014:trace:seh:raise_exception code=c0000005 flags=0 addr=0x300eb907 0014:trace:seh:raise_exception info[0]=00000000 0014:trace:seh:raise_exception info[1]=00000062 0014:trace:seh:raise_exception eax=00000001 ebx=00000200 ecx=00000000 edx=fffff582 esi=00000000 edi=00000000 0014:trace:seh:raise_exception ebp=0034d800 esp=0034d7e8 cs=0073 ds=007b es=007b fs=0033 gs=003b flags=00210202 --- snip ---
HWND 0x00120026 (Microsoft Project main wnd) is not supposed to receive WM_IME_NOTIFY in this case. HWND 0x00190036 (MsoSplash splash window) should get the message.
Use attached patch. It should let M$ Project 2003 successfully start.
Regards