将 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 的最佳资源?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

相关文档推荐

Unable to access non-const member functions of objects in C++ std::set(无法访问 C++ std::set 中对象的非常量成员函数)
Constructing std::function argument from lambda(从 lambda 构造 std::function 参数)
STL BigInt class implementation(STL BigInt 类实现)
Sync is unreliable using std::atomic and std::condition_variable(使用 std::atomic 和 std::condition_variable 同步不可靠)
Move list element to the end in STL(在 STL 中将列表元素移动到末尾)
Why is overloading operatoramp;() prohibited for classes stored in STL containers?(为什么禁止对存储在 STL 容器中的类重载 operatoramp;()?)