User interface |
Top Previous Next |
The main window of the Delphi2Cpp II application consists in a menu, a tool bar and in three windows for the input and for the output.
--
By this button the texts in all windows is cleared and then you are asked, whether the type information that was learned from the previous translations shall be cleared too.
--
This button does the same as the previous and than inserts the frame for a new unit. So you can quickly write some code snippets into the frame, to translate them.
--
You can load a Delphi source file into the first window by CTRL+O or by the button:
--
Before you start the translation, you can set some options in the according dialog, which is shown by the button
--
Options can be saved and reloaded by the buttons
--
There are two buttons which can have two states each If the PP-button is down, the preprocessor is enabled, if the PP-button is up, the preprocessor is disabled. If the T-button is down, the translator is enabled, if the T-button is up, the translator is disabled.
You can disable the translator either to check the preprocessing of a source file. But the feature to disable the translator mainly has been implemented, to give you the possibility to create a preprocessed copy of the VCL or your Delphi source files, by means of the file manager. By use of preprocessed files the repeated translation can be accelerated. If you chose the search paths to the directories with the preprocessed VCL and you also select your preprocessed Delphi sources, only enabling of the translator suffices for translation and the time for the pre-processing is saved. If parts of your files aren't preprocessed, you have to enable both, the preprocessor and the translator. This will still be faster than don't to use preprocessed files, because the preprocessor hardly needs time to preprocess files again, which already were preprocessed. The initial state of these buttons is saved with the options. The overwritten System.pas gets always preprocessed, even if the button is disabled.
--
The translation is started with F9 or
--
The dialog for the translation of groups of files is shown by the button:
--
All information that once has been obtained from the interface parts of the processed files is remembered for the translation of further files. Types and variables can be cleared by the button:
--
Finally you can save the generated C++ code by CTRL+S or by
At first a file dialog for the header appears and as soon as you have saved the header file the dialog appears again for the C++ source file. If the translated file is a library, the file dialog appears for a third time, to save a module definition file.
--
Shows a dialog to find expressions in the text of the actual window.
--
Shows the position, where the parser found an error in the Delphi code.
--
This help is shown with F1 or by the button
|
This page belongs to the DelphiXE2Cpp11 Documentation |
DelphiXE2Cpp11 home Content |