On 9/10/21 3:49 AM, Alexandre Julliard wrote:
"Esme Povirk (she/they)" esme@codeweavers.com writes:
On Thu, Sep 9, 2021 at 10:53 AM Zebediah Figura (she/her) zfigura@codeweavers.com wrote:
Is that guaranteed? Is there any reason that an application can't put DLLs in system32?
No, but open-source libraries that target windows have to cope with being installed in an arbitrary location. That means that if any applications install things in system32 on Windows, they need to cope with that too. So if one *were* broken in that way, it'd be broken on Windows too.
That would assume that all libraries find all their data based solely on the library path. That seems optimistic...
Note that the issue is not only with imported libraries, it could be using external config files or registry keys, all of these would have to be renamed as well.
That applies to static libraries, too, though. In that case I guess we have no choice but to go through and check for them...