[PATCH v3 2/2] ntdll: Don't use find_basename_module for sxs dlls

Alexandre Julliard julliard at winehq.org
Mon Jun 17 13:01:12 CDT 2019


Fabian Maurer <dark.shadow4 at web.de> writes:

>> Sorry, I overlooked that the function is also used for getting already
>> loaded dlls. I'll extend the tests and send an updated fix soon.
>
> I take that back, the issue lies deeper.
>
> Currently all built-in dlls are given a path inside "C:\windows\system32" when
> they are loaded. When they are an sxs dll, they need to be given the proper
> path inside winsxs. This can easily be verified by loading msvcp90 and getting
> the module location by GetModulePathA.

This should already work correctly for PE builtins.

It could be fixed for the .so builtins too, but you'll still need to
check that the expected .so file was loaded before applying the
specified path.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list