RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
System.IsConsole Variable

Indicates whether the module was compiled as a console application.

Pascal
IsConsole: Boolean;
C++
Boolean IsConsole;

The IsConsole variable is true if the module was linked as a console application. This applies both to an executable and a shared library.

Note: On Linux, IsConsole is always true.
 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!