Windows: Correct dynamic load helper when _UNICODE is defined
parent
cf8bcd1d63
commit
496a007da3
|
|
@ -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)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue