mirror of
https://github.com/intrepidcs/libicsneo.git
synced 2026-08-05 09:28:40 +02:00
Windows: Correct dynamic load helper when _UNICODE is defined
This commit is contained in:
@@ -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)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user