File types and dependencies
29 Apr 2003 - 22:05
Keywords :

The picture below shows the dependencies that exists between source files in a typical Symbian application.

files.png .hrh files contains enumerations that are used in .rss, .h and .cpp files. The typical content of such file is the list of commands that are defined in the application menus, toolbars, etc...:

// MyApp.hrh
//
enum {
   EMyAppCmdOpenFile = 0x6000,
   EMyAppCmdEdit,
   ...
};

It is a convention to use values from 0x6000 and upwards for these command IDs.

.rss files are resource files. These files contain the definitions of all static strings, buttons, menus, lists... used by the application UI. The Nokia Series 60 wizard also defines a .loc file type which is very close to .rss but can specifically be used to declare all static strings of your app. It is then easier to localize.

.rsg files are generated resource files. They are created at compile time by the resource compiler. They shall be included by .cpp files to handle resources.

.mbm files are Symbian bitmap files. An overview of these file format is presented there. A particularity of this file format is that several bitmaps can be stored in a single file.

.mbg files are generated by the toolchain when creating the .mbm. These files are typically included by C++ ans RSS files that uses bitmaps. A mbg file contains an ID for each bitmap within the corresponding .mbm

Tutorial posted April 29th, 2003 by eric

Submitted by Anonymous on Tue, 2004-01-13 06:06.

Hi there,

Do you have any document/tools/site regarding the binary fileformat of .APP file?

Thank you very much.

regards, rodel


Submitted by sank (not verified) on Wed, 2004-03-17 01:07.

how do I generate the rsg and mbg files.? I am trying to generate them for the listbox example. The VC++ compiler generates error "aknexlist.mbg: No such file or directory". Thanks

Submitted by Anonymous on Wed, 2004-05-05 08:45.

*.mbg files can be created by *.mpp file (and ListBox example has this feature in it's *.mpp file), but at least I had to run 'abld build wins udeb' first before 'abld makefile vc6' to get it done.

Submitted by mekabyte (not verified) on Fri, 2004-06-18 09:36.

I'm having problem when trying to create a dll with a resource file(own common dialog). Dialog builds up fine, but when I'm trying to use it in application it crashes when trying to use the dll's resources. Any idea how to do this, or is it impossible?

Submitted by tOtE (not verified) on Fri, 2004-09-17 14:39.

Hi,

In case of a DLL you have to load your resource file manually. Use CCoeEnv::AddResourceFile for this purpose.

tOtE


Submitted by Alex (not verified) on Thu, 2004-09-02 10:43.

What about rsc file format?

Where can i find it?


Submitted by eric on Thu, 2004-09-02 10:50.

Check the rcomp utility on Symbian web site. It contains the source code of the resource compiler.

Submitted by Arpitha (not verified) on Thu, 2004-10-14 12:14.

TOS 4.0 and greater will support the older format and a new extensible format of the resourse file.

Submitted by Mirza abu daud baig (not verified) on Sat, 2006-09-09 13:32.

It is a binary file created after building process. After building process every Application has got atleast two files called .app and .rsc

.rsc is build from .rss

You can find this .rsc file from the following location

your path where u loaded symbian os for e.g

C:\symbian\series60_2.1_cw\epoc32\release\WINSCW\UDEB\SYSTEM\APPS\your application name

Thanks & Regards Thinkways Software Technology Pvt Ltd. ,Bangalore,India Symbian Development Team


Submitted by Isha (not verified) on Wed, 2006-04-12 08:48.

Hi

I want to know that why a symbian specific Resource complier and also we GUI application seperate code and resources ?



copyright 2003-2009 NewLC SARL