Uwe Bonnes bon@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
This is wrong, the desktop should not be owned by the current thread. What's the problem with Xilinx?
"Alexandre" == Alexandre Julliard julliard@winehq.com writes:
Alexandre> Uwe Bonnes bon@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