From 1d68fe209f50e6232bee28cdf385f0541abdd7bc Mon Sep 17 00:00:00 2001 From: Mark Jansen Date: Sat, 5 Jun 2021 22:14:34 +0200 Subject: [PATCH] [SYSSETUP] Use the calculated full path --- dll/win32/syssetup/install.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dll/win32/syssetup/install.c b/dll/win32/syssetup/install.c index ba8fd226b64..5feefa3611b 100644 --- a/dll/win32/syssetup/install.c +++ b/dll/win32/syssetup/install.c @@ -467,7 +467,7 @@ RegisterTypeLibraries(HINF hinf, LPCWSTR szSection) p = PathAddBackslash(szPath); wcscpy(p, szName); - hmod = LoadLibraryW(szName); + hmod = LoadLibraryW(szPath); if (hmod == NULL) { FatalError("LoadLibraryW failed\n");