Visual studio 6 build fix.

Alexandre Julliard julliard at winehq.org
Fri Dec 10 08:14:30 CST 2004


Rein Klazes <wijn at wanadoo.nl> writes:

> @@ -210,7 +212,12 @@ static int set_process_console( struct p
>      if (process->create_flags & CREATE_NEW_CONSOLE)
>      {
>          /* let the process init do the allocation */
> -        return 1;
> +        /* unless the startup info specifies to use */
> +        /* the io handles in the startup info */
> +        if( !info || !info->data ||
> +                !((((RTL_USER_PROCESS_PARAMETERS *)info->data)->dwFlags) &
> +                    STARTF_USESTDHANDLES))
> +            return 1;

The server must not know about the process parameters structure, the
STARTF_USESTDHANDLES flag has to be handled on the client side.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list