×

Discussion Board

Results 1 to 10 of 10
  1. #1
    Registered User
    Join Date
    Dec 2008
    Posts
    41

    Resource problem

    I already declare the resource in my rss file.

    but I still get an error:
    - error: `R_ABOUT_DIALOG' undeclared (first use this function)
    - undefined identifier 'R_ABOUT_DIALOG'
    - error: (Each undeclared identifier is reported only once for each function it appears in.)

    How can i solve this?

  2. #2
    Super Contributor
    Join Date
    Nov 2004
    Posts
    1,009

    Re: Resource problem

    Please check have you declared in the following manner in your resource:

    RESOURCE DIALOG r_wait_cancel_dialog_w


    Regards,
    Shafali

  3. #3
    Registered User
    Join Date
    Dec 2008
    Posts
    41

    Re: Resource problem

    I already declared this funs in my resource file
    Code:
    RESOURCE DIALOG r_about_dialog
    	{
    	flags = EGeneralQueryFlags | EEikDialogFlagNoBorder | EEikDialogFlagNoShadow;
    	buttons = R_AVKON_SOFTKEYS_OK_EMPTY;
    	items=
    		{
    		DLG_LINE 
    			{
    			type = EAknCtPopupHeadingPane;
    			id = EAknMessageQueryHeaderId;
    			itemflags = EEikDlgItemNonFocusing;
    			control = AVKON_HEADING
    				{
    				};
    			},
    		DLG_LINE
    			{
    			type = EAknCtMessageQuery;
    			id = EAknMessageQueryContentId;
    			control = AVKON_MESSAGE_QUERY
    				{
    				};
    			}
    		};
    	}
    and i still have problm...

  4. #4
    Super Contributor
    Join Date
    Nov 2004
    Posts
    1,009

    Re: Resource problem

    This problem could arise when your resource doesnt get compiled successfully, plesae check in your .rsg file that the r_about_dialog exists or not.

  5. #5
    Super Contributor
    Join Date
    Jul 2008
    Location
    Chennai,India
    Posts
    889

    Re: Resource problem

    Also check that u have include the .rsg file in the .cpp file where u are using the resource...

  6. #6
    Super Contributor
    Join Date
    Nov 2004
    Posts
    1,009

    Re: Resource problem

    and do check that you have included the .rsg file in the file in which you are using a resource.

  7. #7
    Registered User
    Join Date
    Dec 2008
    Posts
    41

    Re: Resource problem

    Thanks a lot.... solve the error.... but it shows a message like this: "Cannot find: "<symbol>"".

    How can i remove this thing from displaying.

  8. #8
    Super Contributor
    Join Date
    Jul 2008
    Location
    Chennai,India
    Posts
    889

    Re: Resource problem

    Cud you paste the whole error ...

  9. #9
    Registered User
    Join Date
    Dec 2008
    Posts
    41

    Re: Resource problem

    I already declare the resource in my rss file. I already included the .rsg file in the .cpp file where i will be using the resource... but still it shows an error. when i check the rsg file it didn't update.

    How can i update the .rsg file??

    error:
    - error: `R_ABOUT_DIALOG' undeclared (first use this function)
    - undefined identifier 'R_ABOUT_DIALOG'
    - error: (Each undeclared identifier is reported only once for each function it appears in.)

  10. #10
    Super Contributor
    Join Date
    Mar 2004
    Location
    Singapore
    Posts
    9,968

    Re: Resource problem

    try clean building from commandline.
    if still problem exists then search your .rsg file in sdk epoc folder and delete it, then try clean building again

Similar Threads

  1. appuifw.app.menu limitations?
    By hurenkam in forum Symbian
    Replies: 11
    Last Post: 2008-09-16, 00:44
  2. resource dialog problem
    By plmanikandan in forum Symbian
    Replies: 1
    Last Post: 2005-02-16, 06:35
  3. problem with my resource file...
    By sbleriot in forum Symbian
    Replies: 1
    Last Post: 2003-02-18, 12:23
  4. Resource file problem with engine.
    By trodat in forum Symbian User Interface
    Replies: 1
    Last Post: 2003-02-04, 14:08

Posting Permissions

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