Best resources for converting C/C++ dll headers to Delphi?

前端 未结 7 1251
说谎
说谎 2020-12-08 05:49

A rather comprehensive site explaining the difficulties and solutions involved in using a dll written in c/c++ and the conversion of the .h header file to delphi/pascal was

7条回答
  •  被撕碎了的回忆
    2020-12-08 06:20

    Over at Rudy's Delphi Corner, he has an excellent article about the pitfalls of converting C/C++ to Delphi. In my opinion, this is essential information when attempting this task. Here is the description:

    This article is meant for everyone who needs to translate C/C++ headers to Delphi. I want to share some of the pitfalls you can encounter when converting from C or C++. This article is not a tutorial, just a discussion of frequently encountered problem cases. It is meant for the beginner as well as for the more experienced translator of C and C++.

    He also wrote a "Conversion Helper Package" that installs into the Delphi IDE which aids in converting C/C++ code to Delphi:


    (source: rvelthuis.de)

    His other relevant articles on this topic include:

    • Using C++ Objects in Delphi
    • Using C object files in Delphi

提交回复
热议问题