System.IsConsole
Delphi
IsConsole: Boolean;       { True if compiled as console app }
C++
extern DELPHI_PACKAGE bool IsConsole;
Properties
| Type | Visibility | Source | Unit | Parent | 
|---|---|---|---|---|
| variable | public | System.pas System.hpp | System | System | 
Description
Indicates whether the module was compiled as a console application.
The IsConsole variable is True if the module was linked as a console application. This applies both to an executable and a shared library.