Windows: Correct dynamic load helper when _UNICODE is defined

v0.3.0-dev
Paul Hollinsky 2021-05-30 02:57:18 -07:00
parent cf8bcd1d63
commit 496a007da3
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@
// MSVC does not have the ability to specify a destructor // MSVC does not have the ability to specify a destructor
#define ICSNEO_DESTRUCTOR #define ICSNEO_DESTRUCTOR
#define icsneo_dynamicLibraryLoad() LoadLibrary("icsneoc.dll") #define icsneo_dynamicLibraryLoad() LoadLibrary(TEXT("icsneoc.dll"))
#define icsneo_dynamicLibraryGetFunction(handle, func) GetProcAddress((HMODULE) handle, func) #define icsneo_dynamicLibraryGetFunction(handle, func) GetProcAddress((HMODULE) handle, func)
#define icsneo_dynamicLibraryClose(handle) FreeLibrary((HMODULE) handle) #define icsneo_dynamicLibraryClose(handle) FreeLibrary((HMODULE) handle)