Convert Delphi 4 / 5 source code to C++
Delphi2Cpp makes a first rough translation of the source code. In most cases a manual post-processing of the produced code will be required. However, it is aim of the program to keep the amount of the post-processing as small as possible.Some language features of Delphi cannot be reproduced adequately in the standard C++. They can be reproduced however with the extended capabilities of the CBuilder, that's the C++ compiler of the same manufacturer, which also produces the Delphi compiler. This extended C++ is the primary target of the translation made by Delphi2Cpp.The Delphi2Cpp application will save most simple purely mechanical syntactical substitutions and rearrangements of the code in which the largest portion of the translation consists. Some more complex translation steps also are executed too Limitations:
· 30 days trial
· Nag screen
· In the trial period code cannot be loaded and saved, but must be copied and pasted by the clipboard. What's New in This Release: [ read full changelog ]
· The type names "Char" and "PChar" aren't translated according to the options for the string translation into "char" and "char*" or into "wchar_t" and "wchar_t*" any more, but "Char" is left non-translated and "PChar" is translated to "Char*". The name "String" also isn't changed at the translation. So the generated C++ code can be switched from Ansi strings to Wide strings more easily with the help of corresponding definitions of "Char" as "typedef char Char;" or "typedef wchar_t Char;" and corresponding definition of "String".
· If the option "string as WideString" is selected, "Char" and "PChar" are translated correspondingly as "wchar_t" and "wchar_t* now, analogously to Delphi2009.
· High( X ) and Low( X ) are translated now by template functions High< X >() or Low< X >(), if X is a type identifier. These functions are evaluated at compile time already and they are portable. Registrated users find the definitions of "High" and "Low" in "d2c_system.pas".
· The function "Pos" isn't tr...