Jump to content
msd

Very large h file to pas

Recommended Posts

Hi there,

Any known converter from h to pas doesn't work for my very huge h file from the HikVision SDK.
Does anyone know how to convert this file or have experience converting HikVision SDK h files to Pas?

I appreciate any information you may have in advance...

Share this post


Link to post
23 minutes ago, Die Holländer said:

Isn't the headerfile for C#?

The last that I had from HikVision was in pure C (and with comments in Chinese ....). They had a C# wrapper for demo project.

  • Like 1

Share this post


Link to post

Hello,

 

This software doesn't work with .h files only c and there are no setup option for .h files.

 

Thanks anyway for any advice :-)

Share this post


Link to post
3 hours ago, msd said:

Hello,

This software doesn't work with .h files only c and there are no setup option for .h files.

Thanks anyway for any advice 🙂

You need a wrapper in pascal from "HCNetSDK.h" and some dlls:

 

- HCNetSDK.dll

- ssleay.dll

- libeay.dll

- zlib.dll

- libssl-1_1-x64.dll for new SDK I think

- libcrypto-1_1-x64.dll for new SDK I think

 

Depends on video machine you want to connect you need other dll too, but all of them are in the SDK (may be, in the old sdk they were inside).

 

And of course, all the samples are in C or C# but I think you can copy how they do the things and replicate in Delphi.

Of course there is some work to do.

 

EDIT ... or I understand bad and you are talking about CHET ?

Edited by DelphiUdIT
  • Like 1

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×