CGRC.EXE - リソース コンパイラ/バインダ

提供: RAD Studio
移動先: 案内検索

コマンドライン ユーティリティ:インデックス への移動


CGRC.EXE は、Windows SDK リソース コンパイラを使用することを[プロジェクト|オプション...|リソース コンパイラ]ダイアログ ボックスで選択した場合に IDE から呼び出されるコンパイラ/バインダです。 通常は、CGRC.EXE を直接実行する必要はありません。

IDE から RC.EXE が呼び出されるとき、BRCC32.EXE のコマンドライン構文(ハイフンを使用)が CGRC.EXE に渡されます。 CGRC.EXE はそのコマンドを RC.EXE の構文(スラッシュを使用)に変換し、RC.EXE を起動します。

コマンドライン構文

C:\>cgrc
CodeGear Resource Compiler/Binder
Version 1.1.0 Copyright (c) 2008-2009 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

関連項目