lpcwstr fix

This commit is contained in:
cora32 2016-01-07 04:00:48 +03:00
parent bdbc112cf2
commit 73c24d990e
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -1 +1 @@
2716B-161
2716B-167