RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
System.CmdLine Variable

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

Pascal
CmdLine: PChar platform;
C++
PChar platform CmdLine;

Note: On Windows, the CmdLine variable points to a null-terminated string that contains the command-line arguments specified when the application was started. Use ParamStr to access individual arguments. In a library (DLL), CmdLine is nil (Delphi) or NULL (C++).
Note: On Linux, CmdLine is always nil (Delphi) or NULL (C++).
 

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