×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Jun 2008
    Posts
    11

    Exclamation S60 9.2: problems in the view resource!

    I discovered, upon debugging, that my view resources in my rss file are not accepted by the emulator. The emulator gives CONE 14 error when the code reaches "ConstructFromResource(XYZ_VIEW). The view resource that is causing the trouble is copied below:
    ---------------------------------------------------
    RESOURCE AVKON_VIEW r_primatranz_schedule_view
    {
    menubar = r_primatranz_schedule_menubar;
    cba = R_AVKON_SOFTKEYS_SELECTION_LIST;
    }

    RESOURCE MENU_BAR r_primatranz_schedule_menubar
    {
    titles =
    {
    MENU_TITLE { menu_pane = r_primatranz_app_menu; txt = "App"; },
    MENU_TITLE { menu_pane = r_primatranz_schedule_menu; txt = "View"; }
    };
    }

    RESOURCE MENU_PANE r_primatranz_schedule_menu
    {
    items =
    {
    MENU_ITEM
    {
    command = EHelp;
    txt = s_help;
    },
    MENU_ITEM
    {
    command = EAbout;
    txt = s_about;
    },
    MENU_ITEM
    {
    command = EAknSoftkeyExit;
    txt = s_exit;
    }
    };
    }
    ------------------------------------------------------
    is there anything wrong in my resource code above?

    By the way: my builder never gives me a *.rsc file, and sometimes the applications launch successfully in the emulator.. is this normal?

    I use Visual Studio 2005 over Carbide.vs 3.0.1.

    Please help!

  2. #2
    Super Contributor
    Join Date
    Nov 2004
    Location
    Wiltshire, UK
    Posts
    3,644

    Re: S60 9.2: problems in the view resource!

    Well the obvious answer is you are attempting to load the wrong resource

    You are loading trying to load XYZ_VIEW but the resources are for r_primatranz_schedule_view.
    Download Symbian OS now! [url]http://developer.symbian.org[/url]

  3. #3
    Registered User
    Join Date
    Jun 2008
    Posts
    11

    Re: S60 9.2: problems in the view resource!

    Well, XYZ_VIEW is more like a metaphor.. I did load the right resource (r_primatranz_schedule_view in capital letters)..

  4. #4
    Super Contributor
    Join Date
    Nov 2004
    Location
    Wiltshire, UK
    Posts
    3,644

    Re: S60 9.2: problems in the view resource!

    I strongly recommend you use Carbide.c++ as this is more fully tested and has had more attention. It could be something in the .vs version that is not handling the dependencies correctly.
    Download Symbian OS now! [url]http://developer.symbian.org[/url]

  5. #5
    Registered User
    Join Date
    Jun 2008
    Posts
    11

    Re: S60 9.2: problems in the view resource!

    I used to think Carbide.c++ would be better, too. Wish me luck, then!

Similar Threads

  1. Socket problems, S40+other fine, S60 not so?
    By neilskinner in forum Mobile Java Networking & Messaging & Security
    Replies: 4
    Last Post: 2008-06-16, 03:05
  2. anyone know any known problems existing with s60 symbian
    By unknownxrecon in forum General Development Questions
    Replies: 3
    Last Post: 2008-05-22, 06:26
  3. Problem with resource s60 3rd edition
    By asmobease in forum Symbian Media (Closed)
    Replies: 4
    Last Post: 2006-09-22, 10:56
  4. Problems with new S60 Concept SDK! - Nokia Please Help!!
    By Niall in forum Mobile Java Tools & SDKs
    Replies: 0
    Last Post: 2002-11-15, 14:14

Posting Permissions

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