msvcrt: translate name to locate program

Alexandre Julliard julliard at wine.dyndns.org
Mon Jan 24 09:14:57 CST 2005


Michael Wu <flamingice at sourmilk.net> writes:

>    if (args)
>    {
> -    ret = msvcrt_spawn(flags, fullname, args, envs);
> +    if (SearchPathA(NULL, name, exeA, MAX_PATH, fullname, NULL))
> +      ret = msvcrt_spawn(flags, fullname, args, envs);

That doesn't look right, spawnve is not supposed to search the path.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list