System.IsConsole
Delphi
IsConsole: Boolean; { True if compiled as console app }
C++
extern DELPHI_PACKAGE bool IsConsole;
Eigenschaften
Typ | Sichtbarkeit | Quelle | Unit | Übergeordnet |
---|---|---|---|---|
variable | public | System.pas System.hpp |
System | System |
Beschreibung
Gibt an, ob das Modul als Konsolenanwendung compiliert wurde.
Wenn das Modul als Konsolenanwendung gelinkt wurde, ist die Variable IsConsole True. Dies gilt sowohl für eine ausführbare Datei als auch für eine gemeinsam genutzte Bibliothek.