Initialise tid in WIN_CreateDesktopWindow
Uwe Bonnes
bon at elektron.ikp.physik.tu-darmstadt.de
Thu Apr 17 16:22:08 CDT 2003
>>>>> "Alexandre" == Alexandre Julliard <julliard at winehq.com> writes:
Alexandre> Uwe Bonnes <bon at elektron.ikp.physik.tu-darmstadt.de> writes:
>> windows/win.c: WIN_CreateDesktopWindow Initialise pWndDesktop->tid
>>
>> This makes the Xilinx command line tools run with ttydrv
Alexandre> This is wrong, the desktop should not be owned by the current
Alexandre> thread. What's the problem with Xilinx?
000f:Call ttydrv.CreateWindow(00010020,40d84d10,00000000) ret=4100c198
000f:Call user32.WIN_GetPtr(00010020) ret=41aadcae
000f:Ret user32.WIN_GetPtr() retval=403b0a70 ret=41aadcae
000f:Call user32.USER_Unlock() ret=41aadce8
000f:Ret user32.USER_Unlock() retval=00000000 ret=41aadce8
000f:Call user32.HOOK_CallHooks(00000005,00000003,00010020,40d84bb8,00000000) ret=41aadd1b
000f:Call kernel32.GlobalLock16(000002d7) ret=41001f2c
000f:Ret kernel32.GlobalLock16() retval=403b0a28 ret=41001f2c
000f:Ret user32.HOOK_CallHooks() retval=00000000 ret=41aadd1b
000f:Call user32.SendMessageA(00010020,00000081,00000000,40d84d10) ret=41aaddb4
000f:Ret user32.SendMessageA() retval=00000000 ret=41aaddb4
000f:Ret ttydrv.CreateWindow() retval=00000000 ret=4100c198
ttydrv.CreateWindow sends the WM_NCCreate Message, Sendmessage checks for
the tid and returns immediate error, as no tid is set. This causes
CreateWindow to fail and the Programm stumbles.
It's related to my message
Apr 11 32/979 "ttydrv on a remote console"
where I pointed out the need for some create_desktop equivalent in the
ttydrv.
Bye
--
Uwe Bonnes bon at elektron.ikp.physik.tu-darmstadt.de
Institut fuer Kernphysik Schlossgartenstrasse 9 64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------
More information about the wine-devel
mailing list