Always use ANSI variants of Windows system functions.
This commit is contained in:
@@ -130,7 +130,7 @@ static const char *ll_bcsym(void *lib, const char *sym)
|
||||
if (lib) {
|
||||
return (const char *)GetProcAddress((HINSTANCE)lib, sym);
|
||||
} else {
|
||||
HINSTANCE h = GetModuleHandle(NULL);
|
||||
HINSTANCE h = GetModuleHandleA(NULL);
|
||||
const char *p = (const char *)GetProcAddress(h, sym);
|
||||
if (p == NULL && GetModuleHandleExA(GET_MODULE_HANDLE_EX_FLAG_FROM_ADDRESS,
|
||||
(const char *)ll_bcsym, &h))
|
||||
|
||||
Reference in New Issue
Block a user