Frequent re-translation

Top  Previous  Next

Pretranslated C++ code > Preparing Delphi code > Frequent re-translation

 

Users who like to continue to develop their Delphi code and in parallel also need the C++ code updated certainly don't want to post-process the generated code again and again. Therefore Delphi2Cpp II offers the possibility to prepare the Delphi source code such, that Delphi2Cpp II will reproduce the corrected code fragments. These fragments either can be inserted as special comments (*#_ ... _#*) or can be hidden by conditional compilation with use of the predefined identifier CPP. In fact the second method is based on the first, because the Delphi2Cpp II pre-processor converts the CPP part into the special comments  and the Delphi2C# translator than simply removes the special brackets (*#_ ... _#*).

 

In the section about the overwritten System.pas there are examples and explanations how to use this feature.



This page belongs to the DelphiXE2Cpp11 Documentation

DelphiXE2Cpp11 home  Content