On 4/11/06, Alexandre Julliard julliard@winehq.org wrote:
"Jesse Allen" the3dfxdude@gmail.com writes:
Start of process 0x8:
Creates 16x16 window, WS_POPUP style in thread 0x9, 10024 (Root Window) ShowWindow 10024 In ShowWindow .... set_active_window Creates a new thread 0xc Starts process 0xe CreateEvent "WARCRAFT_III_OK" and waits on read pipe for event
Is that a WaitForxxx or a MsgWaitForxxx?
-- Alexandre Julliard julliard@winehq.org
Ok, I'm not sure about it waiting for that event. The call is 0009:Call kernel32.WaitForSingleObject(00000048,ffffffff) ret=00401c00
Anyway I wrote a test app, showwindow.c. It is available on ftp://resnet.dnip.net . The relay log is there too. The test app tries to mimic the calls I see. I tested under wine and it does hang. I will see about windows.
BTW, I replaced the SendMessage in set_active_window with SendMessageTimeout where ever thread 0xc would hang sending to 0x9 and doing that would make it work normally, but I don't know if that is what you want and I want to see what windows does first.