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 的最佳资源?
基础教程推荐
- 如何将 std::pair 的排序 std::list 转换为 std::map 2022-01-01
- 在 C++ 中计算滚动/移动平均值 2021-01-01
- 这个宏可以转换成函数吗? 2022-01-01
- 如何检查GTK+3.0中的小部件类型? 2022-11-30
- 常量变量在标题中不起作用 2021-01-01
- C++结构和函数声明。为什么它不能编译? 2022-11-07
- 如何在 C++ 中初始化静态常量成员? 2022-01-01
- 如何通过C程序打开命令提示符Cmd 2022-12-09
- 静态库、静态链接动态库和动态链接动态库的 .lib 文件里面是什么? 2021-01-01
- 我有静态或动态 boost 库吗? 2021-01-01
