diff --git a/include/icsneo/platform/windows/dynamiclib.h b/include/icsneo/platform/windows/dynamiclib.h index 5fe3378..d40b1f3 100644 --- a/include/icsneo/platform/windows/dynamiclib.h +++ b/include/icsneo/platform/windows/dynamiclib.h @@ -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)