mirror of
https://github.com/ChronosX88/nesca.git
synced 2024-12-25 01:01:45 +00:00
lpcwstr fix
This commit is contained in:
parent
bdbc112cf2
commit
73c24d990e
@ -3131,7 +3131,7 @@ QString GetColorCode(int mode, QString str)
|
||||
|
||||
#if defined(WIN32) || defined(_WIN32) || defined(__WIN32) && !defined(__CYGWIN__)
|
||||
void enableHikvisionSupport(){
|
||||
HINSTANCE hGetProcIDDLL = LoadLibrary(L".\\HCNetSDK.dll");
|
||||
HINSTANCE hGetProcIDDLL = LoadLibraryW((LPCWSTR)L".\\HCNetSDK.dll");
|
||||
|
||||
if (!hGetProcIDDLL) {
|
||||
HikVis::isInitialized = false;
|
||||
|
Loading…
Reference in New Issue
Block a user