summaryrefslogtreecommitdiffstats
path: root/PC/frozen_dllmain.c
diff options
context:
space:
mode:
Diffstat (limited to 'PC/frozen_dllmain.c')
-rw-r--r--PC/frozen_dllmain.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/PC/frozen_dllmain.c b/PC/frozen_dllmain.c
index e1e4eda..0156c50 100644
--- a/PC/frozen_dllmain.c
+++ b/PC/frozen_dllmain.c
@@ -118,7 +118,7 @@ BOOL CallModuleDllMain(char *modName, DWORD dwReason)
BOOL (WINAPI * pfndllmain)(HINSTANCE, DWORD, LPVOID);
char funcName[255];
- HMODULE hmod = GetModuleHandle(NULL);
+ HMODULE hmod = GetModuleHandleW(NULL);
strcpy(funcName, "_DllMain");
strcat(funcName, modName);
strcat(funcName, "@12"); // stdcall convention.