How to use Delphi Parameters

Most Windows applications take parameters from the command line. Too bad that most users don’t even realize this, although DOS is almost forgotten, the command line can still provide useful functions.
Delphi is not a exception. You can modify your links to launch Delphi just the way you want it. Here are the parameters:

-ns - “No Splash” - This parameter skips the splash screen. Delphi 2 and later.
-np - “No Project” - This parameter launches Delphi without opening an empty project on startup. Delphi 5 and later.
-hm - “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. Delphi 3 and later.
-attach - Attach to running process. This command line is used to make Delphi a JIT (Just In Time) debugger on Windows 9x/ME/NT. Delphi 4 and later.

Note: These command line switches are case insensitive and can be prefixed with either “-” or “/”.

Tags: , , , , , , , , , ,

No Comments Yet

You can be the first to comment!

Leave a comment

OpenID Login

Standard Login