回 帖 发 新 帖 刷新版面

主题:★★★打开BCB的时候不开新工程?

能不能设置使运行BCB的时候不建立新工程?

回复列表 (共5个回复)

沙发

在桌面快捷方式的‘目标’项中加如下即可。

x:\CBuilder6\Bin\bcb.exe /ns /np

其中ns为不显示启动画面。np为不新建项目。

板凳

哇,一直都不知道
请问还有些什么 参数啊?

3 楼

General options

Option    Description

?    Displays help for IDE command-line options.
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.
hv    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.
ns    No splash screen. Suppresses display of the splash screen during IDE startup.

np    No Project. Supresses loading of any desktop files on IDE startup and suppresses creation of a default project.
rregkey    Registry key (for experienced users only). Specifies an alternate registry key (in place of C++Builder).

Debugger options

Option    Description

dexename     Loads the specified executable (exename) into the debugger. Any parameters specified after the exename are used as parameters to the program being debugged and are ignored by the IDE. A space is allowed between the d and the exename.
attach:%1;%2    Performs a debug attach, using %1 as the process ID to attach to and %2 as the event ID for that process. It can be used manually, but is used mostly for Just in Time debugging.
td    TDGoodies. Implements several features found in the Turbo Debugger, TD32 (available on Windows only). It must be used with the d option. It causes the CPU and FPU views to stay open when a process terminates. It causes Run|Program Reset to terminate the current process and reload it in the debugger. If there is no current process, Run|Program Reset reloads the last process that terminated. It also causes breakpoints and watches to be saved in the default desktop if desktop saving is on and no project is loaded.

sddirectories    Source Directories. Must be used with the d option. The argument is either a single directory or a semicolon delimited list of directories which are used as the Debug Source Path setting (can also be set using the Project|Options|Directories/Conditionals option page). No space is allowed between sd and the directory list argument.
hhostname    Hostname. Must be used with the d option. When specified, a remote debug session is initiated using the specified host name as the remote host to debug on. The remote debug server program must be running on the remote host.

l    (Lowercase L) Do not execute startup code. Must be used with the d option. Normally, when you specify the d option, the debugger attempts to run the process to either main or WinMain. When l is specified, the process is merely loaded and no startup code is executed.

Project options

Option    Description

filename    (No preceding dash) The specified filename is loaded in the IDE. It can be a project, project group, or a single file.
b    AutoBuild. Must be used with the filename option. When specified, the project or project group is built automatically when the IDE starts. Any hints, errors, or warnings are then saved to a file. Then the IDE exits. This facilitates doing builds in batch mode from a batch file. The Error Level is set to 0 for successful builds and 1 for failed builds. By default, the output file has the same name as the filename specified with the file extension changed to .err. This can be overridden using the o option.

m    AutoMake. Same as AutoBuild, but a make is performed rather than a full build.
ooutputfile    Output file. Must be used the b or m option. When specified, any hints, warnings, or errors are written to the file specified instead of the default file.

4 楼

谢谢了

5 楼

多谢!

我来回复

您尚未登录,请登录后再回复。点此登录或注册