Delphi provides a fast way to build Windows applications, but sometimes portable or strongly speed optimized code is needed, so that developers wish to migrate an application from Delphi to the C++ language. They might continue to develop their application with Delphi and translate the code repeatedly or might continue development with C++Builder or another tool. Migration to C++ was difficult until now, because of the high effort of the porting. This effort is reduced drastically with the automatic conversion program Delphi2Cpp.
Delphi2Cpp is based on a complete parser for Delphi 7 and yields optimal translation results by use of the type information of the VCL and other included units.
The source code doesn’t have to be prepared. Definitions for the conditional compilation can be set in the options of Delphi2Cpp. The code is immediately pre-processed at the translation.
Delphi2cpp can produce code for all C++ compilers. C++Builder is most suitable as a target, because of its language expansions. However, there is the option too, to produce code for other compilers like Visual C++ or gcc without Delphi-properties.