From 2c05f0044c9718731be0b85bd4e2a4d8d5271f45 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Ri=C4=8Dardas=20Barkauskas?= Date: Wed, 26 Sep 2012 23:27:49 +0300 Subject: [PATCH] msvcp80: Use LoadLibraryA as msvcp90 might not yet or ever be loaded. --- dlls/msvcp80/msvcp80.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/msvcp80/msvcp80.c b/dlls/msvcp80/msvcp80.c index a662848e2d0..018b2049c3e 100644 --- a/dlls/msvcp80/msvcp80.c +++ b/dlls/msvcp80/msvcp80.c @@ -104,7 +104,7 @@ static MSVCP_size_t (CDECL *pnumpunct_short__Getcat)(const struct locale_facet** static BOOL init_funcs(void) { - HMODULE hmod = GetModuleHandleA("msvcp90.dll"); + HMODULE hmod = LoadLibraryA("msvcp90.dll"); if(!hmod) return FALSE; -- 2.11.4.GIT