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 的最佳资源?
基础教程推荐
- Windows Media Foundation 录制音频 2021-01-01
- 管理共享内存应该分配多少内存?(助推) 2022-12-07
- 从 std::cin 读取密码 2021-01-01
- 如何“在 Finder 中显示"或“在资源管理器中显 2021-01-01
- 使用从字符串中提取的参数调用函数 2022-01-01
- 如何使图像调整大小以在 Qt 中缩放? 2021-01-01
- 为 C/C++ 中的项目的 makefile 生成依赖项 2022-01-01
- 如何在不破坏 vtbl 的情况下做相当于 memset(this, ...) 的操作? 2022-01-01
- 在 C++ 中循环遍历所有 Lua 全局变量 2021-01-01
- 为什么语句不能出现在命名空间范围内? 2021-01-01