use Ansi version of LoadLibrary
I got the error "C2664: 'HMODULE LoadLibraryW(LPCWSTR)': cannot convert argument 1 from 'const char *' to 'LPCWSTR'". Mapping B3_DYNLIB_OPEN to the Ansi version of LoadLibrary fixed the error for me.
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
|
||||
typedef HMODULE B3_DYNLIB_HANDLE;
|
||||
|
||||
#define B3_DYNLIB_OPEN LoadLibrary
|
||||
#define B3_DYNLIB_OPEN LoadLibraryA
|
||||
#define B3_DYNLIB_CLOSE FreeLibrary
|
||||
#define B3_DYNLIB_IMPORT GetProcAddress
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user