将 C/C++ dll 头文件转换为 Delphi 的最佳资源?

Best resources for converting C/C++ dll headers to Delphi?(将 C/C++ dll 头文件转换为 Delphi 的最佳资源?)

本文介绍了将 C/C++ dll 头文件转换为 Delphi 的最佳资源?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

一个相当全面的网站,解释了使用用 c/c++ 编写的 dll 以及将 .h 头文件转换为 delphi/pascal 的困难和解决方案,已发布到我最近使用的邮件列表中,所以我认为我会分享它,并邀请其他人为此发布其他有用的资源,无论是链接、转换工具还是书籍/论文标题.

请为每个答案提供一个资源,这样我们最终会将最受欢迎/最好的资源排到顶部.

解决方案


(来源:rvelthuis.de)

他关于该主题的其他相关文章包括:

  • 在 Delphi 中使用 C++ 对象
  • 在 Delphi 中使用 C 对象文件

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 posted to a mailing list I was on recently, so I thought I'd share it, and invite others to post other useful resources for this, whether they be links, conversion tools, or book/paper titles.

One resource per answer please, so we'll end up with the most popular/best resources bubbling to the top.

解决方案

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

这篇关于将 C/C++ dll 头文件转换为 Delphi 的最佳资源?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!

本文标题为:将 C/C++ dll 头文件转换为 Delphi 的最佳资源?

基础教程推荐