[PATCH] kernel32: Load library search in system32 directory.

Alexandre Julliard julliard at winehq.org
Tue Aug 1 05:17:32 CDT 2017


Carlos Palminha <CARLOS.PALMINHA at synopsys.com> writes:

> On 31-07-2017 19:56, Alexandre Julliard wrote:
>> Carlos Palminha <CARLOS.PALMINHA at synopsys.com> writes:
>> 
>>> I think today its working for some of those unsupported flags because it's a side effect of calling MODULE_get_dll_load_path with NULL.
>>> Probably using only system32 path it might break some of the application that are working based on a side effect. Nevertheless i run the existing tests for module and its ok.  
>>>
>>> I will look at it and add the other SEARCH flags. If i check the other flags then there is no need to fallback to MODULE_get_dll_load_path(NULL), do you agree?
>> 
>> My guess is that you'd want to integrate the flags handling into
>> MODULE_get_dll_load_path instead of bypassing it.
>> 
>
> i thought on that but it seems wine_kernel_init and SearchPathW are also using it.
> Do you think its acceptable for these functions to call dll_load_path with the SEARCH flags?

That should be fine.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list