Application-level Information

From RAD Studio
Jump to: navigation, search

Go Up to API Categories Index

This topic lists the most important members used to access application-level information.

Member Description

Vcl.Forms.Application

Represents application-level information.

System.CmdLine

Points to the command-line arguments specified when the application is invoked.

System.ParamCount

Returns the number of parameters passed on the command line.

System.ParamStr

Returns a specified parameter from the command line.

System.CmdShow

Specifies the flags for displaying the application's main window.

System.CompilerVersion constant

Designates the version number of the Delphi compiler.

System.DebugHook

DebugHook is set if an application is running under the IDE debugger.

System.ExitCode

Contains the application's exit code.

System.ExitProcessProc

Specifies the last procedure to execute before the application shuts down.

System.SysUtils.GetFileVersion

Returns the file version.

System.GetModuleFileName

Returns the fully qualified file name for a module, given its handle.

System.SysUtils.GetModuleName

Returns the fully qualified name for a module, given its handle.

Vcl.Forms.HintWindowClass

Specifies the class for the window used to display help hints.

System.InitProc

InitProc is the last installed initialization procedure.

System.IsConsole

Indicates whether the module was compiled as a console application.

System.IsLibrary

Indicates whether the module is a shared library.

System.IsMultiThread

Indicates whether the application spawned additional threads using BeginThread or TThread objects.

System.JITEnable

Controls when the just-in-time debugger is called.

System.SysUtils.Languages

Lists the locales for which support is available.

System.MainInstance

Indicates the instance handle for the main executable.

System.MainThreadID

Indicates the instance handle for the current module's main thread of execution.

System.NoErrMsg

Controls whether the application displays an error message when a run-time error occurs.

Vcl.Menus.PopupList

Provides centralized handling of Windows messages directed at pop-up menus.

System.RTLVersion constant

Designates the version number of the Delphi runtime library.

Vcl.Forms.Screen

Represents a screen device.

System.SysUtils.Win32Platform

Specifies the Windows Operating System platform identifier.

System.GetACP

Gets the identifier of the current Windows ANSI code page.

System.CPUCount

Represents the number of CPU cores detected.


See Also

Code Examples