問題描述
一個相當全面的網站,解釋了使用用 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 的最佳資源?的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!