Home > Back-end >  Hikvision and dahua technology SDK C header file to Delphi Pas
Hikvision and dahua technology SDK C header file to Delphi Pas

Time:10-31

Hikvision: HCNetSDK pas
https://blog.csdn.net/BlueStorm/article/details/106426854

Dahua technology: DHNetSDK. Pas and DHConfigSDK. Pas
https://blog.csdn.net/BlueStorm/article/details/106661600

Video monitoring field of two famous company hikvision and dahua technology, they provide the SDK does not directly support the Delphi, according to their theory is that the Delphi users enough, what language does not support, if we want to use Delphi call these SDK interface, then the need to put the C header file into the Delphi pas,

Hikvision SDK HCNetSDK inside. H has 50734 rows, and dahua technology dhnetsdk. H and dhconfigsdk. H lines 53335 and 13846, respectively, if manually turn, do not know to turn to the qualifications, and manually turn not only easy to get wrong, and it is difficult to find turned in the wrong place, before I used to try to turn the manual way, feeling both mechanical and depressed, then manually turn on the Internet to find some others, but it is not complete, only part of tiny, and the corresponding SDK version is old,

Finally is to want to use the program automatically turn, turn on the Internet to find the C header file pas tools, found no one is good, whether foreign or domestic, finally there is no way, only can write their own programs to transform, it took me some time,

Now the converted file sharing, to avoid we repeat the wheels,
These files I just use the function of the part few, didn't do a complete test, for reference only, there is a problem welcome message,

If you feel in CSDN download have difficulty, can go to the box FTP download inside,

CodePudding user response:

Three grams of oil

CodePudding user response:

If they are written in Delphi interface, can be directly output C header files and C + + header file (but can use C + + header file seems to be only a C + + Builder), save a lot of time, they don't understand the Delphi compiler can be directly generated C, C + + header files and libraries

CodePudding user response:

Can't be used, a hard, although also will support the building Lord,

CodePudding user response:

In the FTP search box "hikvision" or "dahua" can find

CodePudding user response:

What features do you use to "translate" the part, not much, also can make up a small simple text interpreter points automatically, ha ha

CodePudding user response:

Found by hand around the wrong question, for example, the array subscript forget to minus 1. And it's hard to find, so to manually turn no confidence, just write program automatic conversion,
With this conversion program, and then turn to other C header file, is simply too much for me,

CodePudding user response:

Support the support passing by passing passing through support

CodePudding user response:

Strong ah, look,

CodePudding user response:

There is a h2pas tool in Linux, but never used

CodePudding user response:

Most should provide excellent C header file to pas is an EMBA program, it has both C + + Builder product, also have Delphi products, developing A C header file transfer pas program, for it is A Piece Of Cake

CodePudding user response:

There is also a h2pas Free Pascal, estimation is the transplantation of Linux tools, I tried it on, conversion can also

CodePudding user response:

The
references to the tenth floor BlueStorm response:
should provide most excellent C header file to pas is an EMBA program, it has both C + + Builder product, also have Delphi products, developing A C header file to pas program, for it is just A Piece Of Cake


Right, because the Delphi compiler can generate C + + header files, let CB add a compiler function C header file output Pascal unit may be more simple
  • Related