Martin Fuchs <[EMAIL PROTECTED]> writes:

> +/* globally stored shell window handles */
> +
> +static HWND hwndShellWindow = 0;
> +static HWND hwndShellListView = 0;
> +
> +/* id of the process, which currently owns the shell window */
> +static DWORD pidShellWindow = 0;

You must not store handles or pids in the server, you should store
pointers to the server objects, and properly handle the case where the
corresponding window or process gets destroyed.

-- 
Alexandre Julliard
[EMAIL PROTECTED]

Reply via email to