msd 5 Posted January 23 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
pyscripter 721 Posted January 23 @Erik@Grijjy's neslib/Chet: C Header Translator for Delphi may be worth giving it a try. 1 Share this post Link to post
Die Holländer 67 Posted January 23 12 minutes ago, pyscripter said: @Erik@Grijjy's neslib/Chet: C Header Translator for Delphi may be worth giving it a try. Isn't the headerfile for C#? 1 Share this post Link to post
DelphiUdIT 209 Posted January 23 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. 1 Share this post Link to post
msd 5 Posted January 25 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
DelphiUdIT 209 Posted January 25 (edited) 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 January 25 by DelphiUdIT 1 Share this post Link to post