|
Delphi RTL/VCL |
Top Previous Next |
|
Pretranslated C++ code > Delphi RTL/VCL Delphi applications depend on the Delphi Runtime Library (RTL) and, in the case of VCL applications, on the Visual Component Library (VCL). Consequently, the translated application also requires compatible implementations of the RTL and VCL functionality it uses.
C++ Builder
Embarcadero C++Builder already provides the compiled Delphi RTL and VCL libraries together with the corresponding C++ interface files. Delphi2Cpp supplies additional helper files for functionality required by the generated C++ code.
Other C++ Compilers
For other C++ compilers, Delphi2Cpp provides helper files implementing selected Delphi compiler intrinsics and parts of the System unit. The System unit is closely integrated with the Delphi compiler. Some fundamental operations are implemented directly by the compiler, while certain declarations use internal representations that only the Delphi compiler interprets correctly. For example, internal identifiers such as _AnsiStr are used in connection with AnsiString, and similar mechanisms exist for several other fundamental types. Parts of System.pas also rely on assembler or other compiler-specific code. These helper files cover fundamental functionality but do not constitute a complete replacement for the Delphi RTL or VCL.
The additional RTL and VCL functionality required by an application must therefore be translated by the licensed user.
In addition, it is recommended to prepare some files of the Delphi RTL |
|
This page belongs to the Delphi2Cpp Documentation |
Delphi2Cpp home Content |