Name

Resource Compiler, brcc32.exe

Usage

brcc32 [-16] [-31] [-32] [-w32] [-ccodepage] [-dname[=string]
  [-fofilename] [-h] [-?] [-ipaths] [-llanguage] [-m] [-r]
  [-v] [-x] file

Description

The resource compiler compiles a resource script (.rc) into a resource file (.res). The command-line resource compiler can be more convenient than using the Project Manager in the IDE when you want to automate builds.

See the Microsoft Platform SDK documentation for the format of a resource script. This information is available online from msdn.microsoft.com and on the Microsoft Developer Network CDs.

Options are not case sensitive. Each option can begin with a hyphen (-) or a slash (/). Unlike the command-line compiler, you cannot concatenate any options, even if you use a slash.

The rest of this section describes the command-line options.

-16
-31

Build a 16-bit .res file (for compatibility with Windows 3.x).

-32
-w32

Build a 32-bit .res file (for Windows 9x, Windows NT, Windows 2000). This is the default.

-c codepage

Set the default code page to codepage. The code page controls the interpretation of multibyte characters. See the Windows API documentation for a list of supported code pages.

-d name [= string ]

Define name as though it appeared in a #define directive in the source file. The default definition for name is 1. You can supply a different definition after an equal sign.

-fo filename

Set the output filename to filename. The default is a file with the same name as the input file, ...

Get Delphi in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.