On Tue, 13 Mar 2007, Paul Vriens wrote: [...]
as advapi32 is already linked to, we can use GetModuleHandle.
- if (!(module = LoadLibrary( "advapi32.dll" ))) return; + if (!(module = GetModuleHandleA( "advapi32.dll" ))) return;
Well, since we're already linked to advapi32.dll, there's no need to check that GetModuleHandleA() does not return NULL. Plus if we were to check we should use skip().