C头文件翻译成DELPHI

时间:2013-01-15 19:32:25
【文件属性】:
文件名称:C头文件翻译成DELPHI
文件大小:20KB
文件格式:ZIP
更新时间:2013-01-15 19:32:25
单元 头文件 翻译 Delphi 工具 This Zip File includes the latest version of Bob Swart‘s (aka Dr. Bob) Header Converter Utility whose purpose is to translate C header files into Delphi interface units. In an earlier release, Dr. Bob described the tool in these words: "HeadConv v4.20 is capable of generating implicit and explicit Delphi import units (16/32-bit compatible) for C DLL header files. Please note that HeadConv is not perfect (it will fail on complex structures) and on average "only" has a 85-90% correct conversion rate - there‘s always some handwork required before and after converting the header files - see also my article on Using C DLLs with Delphi at http://www.drbob42.com/delphi/headconv.htm." Several years ago Dr. Bob donated this utility to Project JEDI to aid in its header translations. Some time later Alan C. Moore, a member of Project JEDI, began the process of re-factoring the source code to improve its readability in preparation for its official release to Project JEDI. These files are the culmination of that process. Folders and Files Readme.txt this file Samples/Sample.h Sample header file to test translations Source/Headconv.dpr Main Delphi project file for building utility Source/Headpars.pas Main parsing unit for converting header files Source/Headutil.pas Utility functions used in Headpars.pas Source/Headvars.pas Global variables used in other units. Because of technical limitations we are unable to include the executable that accomplishes header translations, Bin/HeadConv.exe. This file will continue to be available at Dr. Bob‘s Website in the "tools" section at http://www.drbob42.com/tools/index.htm.
【文件预览】:
Source
----HEADUTIL.PAS(9KB)
----HeadVars.pas(14KB)
----HEADCONV.DPR(6KB)
----HEADPARS.PAS(42KB)
Samples
----SAMPLE.H(1KB)
Headconv.ini
README.TXT

网友评论

  • 对我不能用,编译不能通过,估计需要自己修改。
  • 这个不是最新的,不过我在里面找到了作者的主页,了解了一下,还是很感谢楼主。这里的代码修改一下编译指令就可以通过了。
  • 对我没用,但还是非常感谢!
  • 只是翻译DLL接口,不是真正翻译头文件,对我没什么用
  • 很不好用,不知道是从哪找的代码,编译都过不了。。