]> asedeno.scripts.mit.edu Git - PuTTY.git/blobdiff - windows/winstore.c
Create, and use for all loads of system DLLs, a wrapper function
[PuTTY.git] / windows / winstore.c
index d011dbfa9cd8ba85603b67c8f87ec28c09c869b5..6e804346f7202d9206082cb48d43b048330c1dd9 100644 (file)
@@ -497,7 +497,7 @@ static HANDLE access_random_seed(int action)
         * on older versions of Windows if we cared enough.
         * However, the invocation below requires IE5+ anyway,
         * so stuff that. */
-       shell32_module = LoadLibrary("SHELL32.DLL");
+       shell32_module = load_system32_dll("shell32.dll");
        GET_WINDOWS_FUNCTION(shell32_module, SHGetFolderPathA);
        tried_shgetfolderpath = TRUE;
     }