* * *

Author Topic: Importing commercial DDL Question  (Read 1523 times)

molly

  • Hero Member
  • *****
  • Posts: 2037
Re: Importing commercial DDL Question
« Reply #15 on: October 02, 2017, 03:25:01 pm »
I guess h2pas will do 90-99% translation from C header files to pascal units
Don't guess, but give it a try and see for yourself  :) (it really is a 1 minute or less process)

Ah, bummer ain't it ... all those errors ?  ;)

Try 90% of the time h2pas will not do as you wish for. To be fair on h2pas, it is h2pas not hpp2pas. Most of the automated tools get thrown off by preprocessor stuff (and also to be fair, those tools aren't preprocessors, and just try to convert c declarations).

@avra has the better idea there, but TS excluded the use of ocx component.

Of course it all starts with the company reluctant to support FPC/Lazarus. So shame on them  :)
« Last Edit: October 02, 2017, 03:32:52 pm by molly »

Windsurfer

  • Sr. Member
  • ****
  • Posts: 311
    • Windsurfer
Re: Importing commercial DDL Question
« Reply #16 on: October 12, 2017, 02:13:44 pm »
Have you looked at the Onvif white papers? I have not read them yet, but they are at:
https://www.onvif.org/profiles/whitepapers/

 

Recent

Get Lazarus at SourceForge.net. Fast, secure and Free Open Source software downloads Open Hub project report for Lazarus