Symbian Developer Library

SYMBIAN OS V6.1 EDITION FOR C++

[Index] [Glossary] [Previous] [Next]



Resource compiler: rcomp.exe


Purpose

The resource compiler, Rcomp, compiles source rss resource files into a rsc resource data file which can be used by applications, and a rsg resource header file. The operation of the resource compiler is usually wrapped in an abld batch file. That provides the most commonly used Rcomp functionality, but does not provide some of the debugging options available directly through Rcomp.

[Top]


Changes since v5

Note the following changes since v5:

[Top]


Command line syntax

rcomp [v] | [i] | [m] | [p] | [u] [—oDataOutputFile] [—hHeaderOutputFile] [—sSourceFileName] [—iBaseInputFileName]


Arguments

-v

verbose output

-l

log memory

-m

output memory calls

-p

parser debugging

-u

generate Unicode resource binary

-o

Specify full path and name for data output file (DataOutputFile). If this is not specified, no data output file is created.

-h

Specify header output file (HeaderOutputFile; name only, does not include path). If this is not specified, no header output file is created.

-s

Specify resource compiler source file SourceFileName (output of pre-processor BaseInputFileName.rpp). If not specified, or specified as -s-, source is read from the standard input.

-i

The file given to the pre-processor (this is the source file BaseInputFileName.rss)


Output files

DataOutputFile

The resource data referred to by the application at run-time. Note that the generated file can have any name. However, before the resource file can be used it must be renamed to have an extension .rsc.

HeaderOutputFile

The generated header file, which contains #define statements for each resource defined in the source file.