Windows: Correct dynamic load helper when _UNICODE is defined

pull/35/head
Paul Hollinsky 2021-05-30 02:57:18 -07:00
parent ed94012046
commit 165eb0f8a2
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)