BOOL |
Top Previous Next |
What is translated > Types > API Integration > BOOL BOOL is an example for the API integration. BOOL is defined in Winapi,Windows.pas as:
{$EXTERNALSYM DWORD} BOOL = LongBool;
Because of the EXTERNALSYM directive, the definition is omitted in the C++ output (in the standard case, that the EXTERNALSYM directive is applied)..When BOOL is used anywhere in the code, the original definition of the Windows API is used.
It is recommended to suppress the namespace for API files. Otherwise BOOL would be qualified in the created C++ headers as
Wainapi::Windows::BOOL
|
This page belongs to the Delphi2Cpp Documentation |
Delphi2Cpp home Content |