[PATCH 2/2] Cygwin: Drop use of loadlib.h in regtool

Corinna Vinschen corinna-cygwin@cygwin.com
Mon Feb 28 09:44:14 GMT 2022

On Feb 26 16:40, Jon Turney wrote:
> Link directly with RegDeleteKeyExW(), available since Vista.
> (It's unclear the LoadLibrary wrapper was ever doing anything useful
> here, as (i) DLL lookup in PATH was avoided as advapi32 is already
> loaded into the process, and (ii) advapi32 is a 'known DLL' which is
> only ever loaded from system directory)

Ah, sorry for outlining this in my previous reply.  You were aware
of that already, of course.


More information about the Cygwin-patches mailing list