UIQ Technology
 Developer Library

UIQ 3 SDK

UIQ developer portal

FEEDBACK 

[Index] [Spacer] [Previous] [Next]



About Application Resources


Overview

Much of the information that defines the appearance, behavior and functionality of a Symbian OS application is stored in a resource file external to the main body of the program. This is unlike some other programming environments where a single executable contains all the code and information used by the application.

Resource files can have the advantage that information is loaded only when needed. They can be compressed which reduces RAM requirements and they can be localized without needing to recompile the main program.

Resource files are developed as text files written in a Symbian OS-specific resource language. These source files are then compiled into a binary file format that can be loaded and read by programs. The source files can be compiled on their own using the command-line resource builder tool, epocrc, or as part of the standard project building process either from the command line or from within an IDE.

[Top]


Purpose of resource files

Resource files fulfill two purposes:

[Top]


File types reference

The resource compilation process uses a number of file types:

rss

resource source file

rls

defines localizable strings, for inclusion in the resource source file

h

header file, for inclusion in C++ file

rh

resource header, for inclusion in the resource source file

hrh

common C++ and resource header, for inclusion in either type of source file

rsg

resource header file output from the resource compiler

rsc

compiled resource file from the resource compiler

Terms and conditions of use of the material