wine/ include/win.h include/wine/server_protoc ...

Gerard Patel gerard.patel at nerim.net
Wed Oct 10 12:49:28 CDT 2001


At 04:55 PM 10/10/2001 +0200, you wrote:
.
>    Alexandre> Implemented inter-process FindWindow().
>
>Shouldn't this avoid errors like these:
>err:win:WIN_FindWndPtr window 1002a belongs to other process
>err:win:WIN_FindWndPtr window 10021 belongs to other process
>err:win:WIN_FindWndPtr window 10029 belongs to other process

Handles of other process windows can be returned by FindWindow, yes.

But current Wine returns them also in enumeration functions, like
EnumWindows. A functions like SetCursor, when trying to set the
cursor for all desktop children, triggers this kind of message.

The error message shows that Wine development is not complete
because some function fails between processes (in SetCursor
case, it is X11DRV_get_whole_window), not necessarily a 
problem in FindWindow.

Try to lookup the origin for the handles :  it is a problem only if
the app get them from a FindWindow call.

Gerard







More information about the wine-devel mailing list