www.digitalmars.com [Home] [Search] [Contents]

RCC: Compiling Resources

RCC is the resource compiler used to compile the program's resources. RCC can generate either 16-bit or 32-bit resource files.

The Digital Mars linker actually binds the resources compiled with RCC to the executable. In contrast, Microsoft's resource compiler RC, both compiles the resources and binds them to the executable.

If building programs using the command line utilities, use either RC or RCC.

Note: RCC supports the VERSIONINFO structure in resource scripts. You can use this structure to label a version of an install program, for example.

RCC commands have the following format:

	rcc infile [-ooutfile] [-n[emumfile]]
		{-D[macro[=text]]} {-(r u v x)[-]} {-wn[-]} {-Ipath} 
		[-j[0 1 2]] {-32 [-lnnnn]} 
RCC accepts the following #pragma directives: RCC defines the following predefined macros: