Best resources for converting C/C++ dll headers to 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 的最佳资源?
- Stroustrup 的 Simple_window.h 2022-01-01
- 近似搜索的工作原理 2021-01-01
- 从python回调到c++的选项 2022-11-16
- 与 int by int 相比,为什么执行 float by float 矩阵乘法更快? 2021-01-01
- 一起使用 MPI 和 OpenCV 时出现分段错误 2022-01-01
- 使用/clr 时出现 LNK2022 错误 2022-01-01
- 如何对自定义类的向量使用std::find()? 2022-11-07
- C++ 协变模板 2021-01-01
- 静态初始化顺序失败 2022-01-01
- STL 中有 dereference_iterator 吗? 2022-01-01