From bd9b90f30c12c12810dc2fe336bf9b825215e682 Mon Sep 17 00:00:00 2001 From: Sven Strickroth Date: Sun, 26 Jan 2014 18:16:48 +0100 Subject: [PATCH] Use AtlLoadSystemLibraryUsingFullPath instead of LoadLibrary Signed-off-by: Sven Strickroth --- ext/ResizableLib/ResizableVersion.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/ResizableLib/ResizableVersion.cpp b/ext/ResizableLib/ResizableVersion.cpp index 68846ef75..2d13f7bd8 100644 --- a/ext/ResizableLib/ResizableVersion.cpp +++ b/ext/ResizableLib/ResizableVersion.cpp @@ -82,7 +82,7 @@ static void CheckCommCtrlsVersion() { // Check Common Controls version SecureZeroMemory(&g_dviCommCtrls, sizeof(DLLVERSIONINFO)); - HMODULE hMod = ::LoadLibrary(_T("comctl32.dll")); + HMODULE hMod = AtlLoadSystemLibraryUsingFullPath(_T("comctl32.dll")); if (hMod != NULL) { // Get the version function -- 2.11.4.GIT