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. Corinna