Delphi command line parameters

zhaozj2021-02-08  251

Delphi command line parameters

Peng Jianxiong

Repost, please contact this

Keyword

Delphi, Command-line, command line parameters

Description

This article is after the weekend with mm quarrel, the way, English is too bad, please understand

By introducing the following, you will clearly understand how to build Delphi's IDE environment from your life and understand its detailed parameters.

Delphi's life is insensitive to the size, and the same role is taken to Delphi for parameters -D / d -d / d.

Delphi's execution program named Delphi32.exe, you may use it to use all parameters

For example: Delphi32.exe / ns / hm (starting an example without a Splash window, and monitoring memory)

Delphi32.exe -sd c: / test / source -d c: /test/myprog.exe -td

(Start the IDE environment and load 'c: /test/myprog.exe' to debug simultaneously

Quote The code of the 'c: / test / source' directory as debug code, -TD, and other parameters will be used as the program of C: / Test/myProg.exe's program)

Common parameter introduction

OPTION DESCRIPTION? Call the IDE command line Help HM displays the memory usage HV memory check on the toolbar, displaying the memory error message on the toolbar, NS does not display the SPLASH window NP to open an empty IDE environment, do not load any project

Debug parameter introduction

Option Description DEXENAME Loads the executable file name used to debug, any parameter after DEXENAME, will be used as the parameter of the executive, and is not visible by IDE. You must pl to DEXENAME to insert a space attach:% 1;% 2 Application debug association, it can be used in normal debugging, but more in instant debugging TD

SDDIRECTORIES specifies the original code used to debug, the parameters must be selected, and you can set the hHOSTNAME to specify the host for debugging through (Project | Options | Director / Conditionals property), if you debug a remote application, it is a must parameter

Engineering parameter introduction

Option Description FileName Specifies the file that is loaded into the IDE, which can be an engineering file, the project, can also be automatically created, you must use the FileName's base foresee, m and b, OoutputFile specifies the output of the error Document, you must use B and M base use

转载请注明原文地址:https://www.9cbs.com/read-2991.html

New Post(0)