About dialog resource

Login to reply to this topic.
Thu, 2005-08-04 03:47
Joined: 2005-08-04
Forum posts: 8
I'm a newbie in symbian C++.When I Created a resource file for dialog,and compiled it,errors occured:
SOUND error PRJ0019: A tool returned an error code from "Building resources from Sound.rss"
SOUND fatal error U1077: 'perl' : return code '0x1'
The resource file I created looked like this:
RESOURCE ARRAY r_song_info_artist
{
   items =
   {
      LBUF { txt= "BackStreet Boys"; }
   };
}


RESOURCE DIALOG r_song_info_dialog
{
   title = "Song Info";
   buttons = R_EIK_BUTTONS_CONTINUE;
   flags = EEikDialogFlagWait;
   items =
   {
      DLG_LINE
      {
         type = EEikCtChoiceList;
         prompt = "Artist";
         id = ESongInfoArtist;
         control = CHOICELIST{ array_id = r_song_info_artist;};
         itemflags = EEikDlgItemNoBorder | EEikDlgItemNonFocusing;
      }
   };
}
In sound.hrh: #define ESongInfoArtist 0x1102
Thank you for your help!


Thu, 2005-08-04 07:41
Joined: 2005-05-25
Forum posts: 11
Re: About dialog resource
Hi

R_EIK_BUTTONS_CONTINUE,  whare is button  defnition ?. they have to be defined before the dialog resource.


Br
Jinesh Krishnan
Thu, 2005-08-04 09:12
Joined: 2005-08-04
Forum posts: 8
Re: About dialog resource
Thank you,I have found the points.This code is not apply for my compiler.
  • Login to reply to this topic.