Windows: Correct dynamic load helper when _UNICODE is defined

This commit is contained in:
Paul Hollinsky
2021-06-10 15:18:13 -04:00
parent ed94012046
commit 165eb0f8a2
+1 -1
View File
@@ -12,7 +12,7 @@
// MSVC does not have the ability to specify a 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_dynamicLibraryClose(handle) FreeLibrary((HMODULE) handle)