Impact on notations

Top  Previous  Next

Pretranslated C++ code > Preparing Delphi code > Delphi directives to support C++Builder > Impact on notations

Types, which are marked as "EXTERNALSYM" or "NODEFINE" are not written into the generated C++ output, if the according option is enabled.. External symbols are provided by the operating system. Therefore the notation which is used in the API of the operation system has to be set in the list of notations.

 

For example in System.pas there is:

 

 

  PByte         = ^Byte;        {$NODEFINE PByte}       { defined in sysmac.h }

 

In this case "PBYTE" from Windows.h could be used. (However most symbols which are marked with NODEFINE don't exist in the API and would have to be defined in your own utility files if the NODEFINE option isn't disabled.)

 



This page belongs to the Delphi2Cpp Documentation

Delphi2Cpp home  Content