The Delphi IDE supports a number of command-line switches. The release of Delphi 5 documented a number of them, and added many new ones. For those people with earlier versions, the table below shows a list of what is available.
Note that these command-line switches are case-insensitive and can be prefixed with either -
or /.Undocumented command-line switches
ns |
Delphi 2 and later. No splash screen. This suppresses display of the splash screen during IDE startup. |
hm |
Delphi 2 and later. Heap Monitor. Displays information in the IDE title bar regarding the amount of memory allocated using the memory manager. Displays the number of blocks and bytes allocated. Information gets updated when the IDE is idle. |
hv |
Delphi 3 and later. Heap Verify. Performs validation of memory allocated using the memory manager. Displays error information in the IDE title bar if errors are found in the heap. |
attach |
Delphi 4. Attach to running process. This command-line is used to make Delphi 4 a JIT debugger on Windows 95/98/NT. |