Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 05/09/2022 in all areas

  1. I have no experience with these cameras or Hikvision SDK, but some things on your BD caught my eye immediately. Looks like the HCNetSDK.dll developer made all the functions to have stdcall calling convention, whereas your CLFN's use cdecl calling convention. You've set NET_DVR_Login_V30 CLFN to accept only 4 input parameters, but the function wants 5 parameters. You've set NET_DVR_Logout CLFN to accept 4 parameters, but the function needs only 1 parameter. In some CLFN's the parameter types don't match the prototypes exactly, e.g. wPort should be U16 (WORD), not U32 (DWORD). Use Windows Data Types table to find out, what WinAPI types represent. These are the prototypes for NET_DVR_Login_V30 and NET_DVR_Logout (as written in Device Network SDK Programming User Manual V4.2): LONG NET_DVR_Login_V30( char *sDVRIP, WORD wDVRPort, char *sUserName, char *sPassword, LPNET_DVR_DEVICEINFO_V30 lpDeviceInfo ) BOOL NET_DVR_Logout(LONG lUserID)
    1 point
  2. It's fine I moved it to a category I think fits. The Lounge would also work, which is a catch all. In the future feel free to use the Report to Moderator function giving text about what you want to have happen to a thread.
    1 point
  3. Some people would say that that is your problem. Others that it is a bliss. 😀
    1 point
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.