Search results

  1. A

    Creating C# application using Hikvision SDK for DS-7116HVI-SL

    It seems that the file is not located where it should be. when I run the demo app of the SDK my "running folder" also known as "execution folder" is: "C:\\Users\\adamg.P-CIM\\Desktop\\VideoAnalyse-master\\NVRCsharpDemo\\bin" You can see that if you call the static property...
  2. A

    Creating C# application using Hikvision SDK for DS-7116HVI-SL

    I don't know what do you mean by "my SDK", so I explain how I use the SDK. First I use the SDK to operate an NVR so I'm using the Device Network SDK (for Windows 64-bit). download the SDK from Hikvision official site download pageSDK - Download - Hikvision Then I copy the files from the lib...
  3. A

    Creating C# application using Hikvision SDK for DS-7116HVI-SL

    Well, I don't have a good answer to your question. The app (Winforms, VS2015 ) used to be one project and I made a change to the app: Split the app into two assemblies. Dynamically load the assembly that contains those structs. Use reflection to instantiate classes of the loaded assembly. In...
  4. A

    Creating C# application using Hikvision SDK for DS-7116HVI-SL

    Thanks for the replay, curiousDev. I've applied your suggestion and the exception is gone. However, In my understanding, this will result in the struct not being a union anymore, as the filed of dwLocalChannel will be stored in the memory after the fields byRes and struRemoteChannel. From the...
  5. A

    Creating C# application using Hikvision SDK for DS-7116HVI-SL

    Hi all. I've inherited a Winforms app that functions as DVR client for Hikvision, the former developer used the HCNetSDK.cs file for pinvoke and structs definitions. I've noticed that some structs in this file will cause the CLR type loader to throw an exception when touse types are used. the...
Top