CGRC.EXE, the Resource Compiler-Binder

From RAD Studio
Jump to: navigation, search

Go Up to Command Line Utilities Index


CGRC.EXE is the compiler-binder that is called by the IDE when you have selected to use the Windows SDK Resource Compiler on the Project > Options > Resource Compiler dialog box. You do not typically need to run CGRC.EXE directly.

When the IDE invokes RC.EXE, it passes the command syntax of BRCC32.EXE (using hyphens) to CGRC.EXE. Then CGRC.EXE converts the command into the syntax of RC.EXE (using slashes) and invokes RC.EXE.

Command Syntax

C:\>cgrc
CodeGear Resource Compiler/Binder
Version 1.00 Copyright (c) 2008 Embarcadero Technologies Inc.

Syntax: cgrc [options ...] filename
  options marked with a '*' are on by default

  -r                    compile only. Do not bind resources
  -fofilename           set output res filename
  -fefilename           set output exe filename
  -v                    verbose
  -ipath                set include path
  -x                    ignore INCLUDE environment variable
  -dname[=string]       define #define
  -Vd.d                 mark .exe file with Windows version (4.0 default)
  -cdddd                set default code page to nnnn
  -lxxxx                set default language to xxxx
  -m                    enable multi-byte character support
  -? or -h              show this help

See Also

Personal tools
Newest Version: XE
In other languages