![]() ![]() To help me with some of the most annoying tasks of header conversion, I wrote a simple IDE expert for myself. If you have problems understanding or using pointers, you should perhaps read my article "Addressing pointers". In the sources displayed in the article, I purposely omitted most of them, because they greatly decrease the signal-to-noise ratio.Ĭ and C++ use a lot of pointers, in structures, in parameters, etc. ![]() When the conversion must also be usable in C++Builder, you must take care not to forget to use the directives where appropriate. Sometimes I use the word “routine” as well, with the same meaning. So if I write “function”, I mean both “function” and “procedure”. In Delphi, you have both functions and procedures, but you might say that procedures are just a special case of functions, without a return value. In this article I often use the word “function”, since that is how they are called in C and C++. I didn’t read it in full, so I don’t know how accurate it is. I have found another tutorial for the translation of C and C++ (not only headers) to Delphi. You should also have read the documents on conversion, formerly on the JEDI pages, and the Borland conversion documentation, if you want your conversion to be compliant with Borland or JEDI standards (this is not required though). This article assumes you have sufficient knowledge of the Delphi language, and some (reading) knowledge of C and/or C++. You can also start on the JEDI API how-to page. You can find a tutorial on the JEDI site. This is not a tutorial on header conversion. I never use notes, they interfere with me. It is meant for the beginner as well as for the more experienced translator of C and C++. ![]() This article is not a tutorial, just a discussion of frequently encountered problem cases. I want to share some of the pitfalls you can encounter when converting from C or C++. This article is meant for everyone who needs to translate C/C++ headers to Delphi. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |