×

Discussion Board

Results 1 to 7 of 7
  1. #1
    Registered User
    Join Date
    Jul 2009
    Posts
    4

    How to update application's rsg file when a new resource file is added to the project

    Hi,

    I am trying to build a localized application and it works fine for Urdu. Now I want to test for Khmer as well. I have added two new files under the <Application>/data folder: a .loc file for Khmer localized strings and a .rss file. The problem is that my application's rsg file is not updated with new values for resource strings that are defined in KhmerStrings.rss, as a result of which I am unable to load appropriate strings (using StringLoader's LoadL function). How are .rsg files compiled whenever a new resource file is added to the project?

    Thanks

    Rabia

  2. #2
    Registered User
    Join Date
    Jun 2008
    Location
    India
    Posts
    1,048

    Re: How to update application's rsg file when a new resource file is added to the pro

    Remove your old .rsg file and recompile your whole project again to get the new .rsg

  3. #3
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,166

    Re: How to update application's rsg file when a new resource file is added to the pro

    also do remember to add the language numbers into the mmp file, so the system knows to build it with multiple languages.

  4. #4
    Registered User
    Join Date
    Jul 2009
    Posts
    4

    Re: How to update application's rsg file when a new resource file is added to the pro

    Thanks for the help.

    However, I am still facing the same problem. I delete the rsg file generated in %EPOCROOT%/epoc32/inlcude directory. When I build the project again, it gives me an error message "the .rsg file cannot be opened" where I have included it in the .cpp file. So I compile the applications resource file again (let say application.rss) to generate the application.rsg file. Upon opening this file I still cannot see the new resource identifiers for Khmer included.

    Any further assistance will be highly appreciated.

  5. #5
    Super Contributor
    Join Date
    May 2005
    Location
    Hyderabad,India
    Posts
    704

    Re: How to update application's rsg file when a new resource file is added to the pro

    Hi,

    Try to build it from command prompt.

    Thanks,
    Eswar

  6. #6
    Registered User
    Join Date
    Jul 2009
    Posts
    4

    Re: How to update application's rsg file when a new resource file is added to the pro

    Thanks everyone.

    I was missing an include statement in one of the rss files. It works fine now.

    Thanks again.

  7. #7
    Super Contributor
    Join Date
    Oct 2007
    Location
    જુનાગઢ - India
    Posts
    3,034

    Re: How to update application's rsg file when a new resource file is added to the pro

    May be your application.rss is not compiled successfully and so not generated .rsg file. check logs in console windows for error.

Similar Threads

  1. MBM image is not found
    By tamhanna in forum Symbian
    Replies: 14
    Last Post: 2009-04-20, 12:44
  2. [split] mbm build error
    By mando222 in forum Symbian Tools & SDKs
    Replies: 1
    Last Post: 2009-03-29, 12:32
  3. Problem with pyobfuscate
    By JOM in forum Symbian
    Replies: 3
    Last Post: 2008-06-20, 22:47
  4. [announce] PyUIQ. Python for UIQ 2.1 and 3.x
    By OscarBernabeu in forum Symbian
    Replies: 35
    Last Post: 2008-01-17, 09:12

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×