What is the standard resource file name in production code?

Login to reply to this topic.
Mon, 2008-06-23 17:20
Joined: 2008-03-06
Forum posts: 7

The Symbian Signed Test Criteria document states that binary file names should contain the UID to prevent a name clash with other applications, e.g. MyAppName_0x2345678.exe.

What should happen with the resource files e.g. MyAppName.r01 and MyAppName_reg.r01? I assume the same issue with name clashes applies to them as well. If resource files should be changed (e.g. MyAppName_0x2345678.r01 and MyAppName_0x2345678_reg.r01) what is the best way to do it? There are so many references to the resource files and a lot of them was auto-generated.

Any one that can help?


Tue, 2008-06-24 08:27
NewLC AdministratorSymbian AccreditedForum Nokia Champion
Joined: 2003-01-14
Forum posts: 1919
Re: What is the standard resource file name in production code?

You have two approaches:
- rename all your resource files which used to be names MyAppName.xxx to MyAppName_0x2345678.xxx (same for the reg file which should become as you stated).
- do the name conversion in the pkg file

The first approach is definitely better as it allows you to continue to use the emulator.
Just make sure you correctly delete all the generated resource files and correctly clean-up your project BEFORE you rename anything (or cleanup your epoc32 directory manually)


Eric Bustarret
NewLC Founder & CEO / Professional Symbian OS Consultant

Tue, 2008-06-24 08:52
Joined: 2008-03-06
Forum posts: 7
Re: What is the standard resource file name in production code?

Thanks, for the feeback.

I followed the option to only re-name resource files in the pkg file (since I don't use the emulator). I also needed to chage the resource file name inside the MyAppName_reg.loc file:

#define qtn_loc_resource_file_1 "\\resource\\apps\\MyAppName_0x234578"

  • Login to reply to this topic.