Hi,
I a new to development using Symbian. I have 2 rss files. I have defined a multiple line dialog box in one of the resource files. WHen I try and load it up I get a system (-20) exception.

I load the resource file using the line

CEikonEnv::Static()->AddResourceFileL( _( "Z:\\resource\\apps\\TestSymbian1.rSC" ) );

Is this the right way of loading multiple dialogs ?


DIALOG BELOW

//----------------------------------------------------------------------------
//
// r_dialog_uri_post_query
// Resource of uri & post data query.
//
//----------------------------------------------------------------------------
//R_DIALOG_URI_POST_QUERY
RESOURCE DIALOG r_dialog_uri_post_query_temp
{
flags = EGeneralQueryFlags;
buttons = R_AVKON_SOFTKEYS_OK_CANCEL;
items =
{
DLG_LINE
{
type = EAknCtMultilineQuery;
id = EMultilineFirstLine;
control = AVKON_DATA_QUERY
{
layout = EMultiDataFirstEdwin;
label = "URI";
control = EDWIN
{
flags = EEikEdwinNoHorizScrolling | EEikEdwinResizable;
width = 25;
lines = 1;
maxlength = 128;
};
};
},
DLG_LINE
{
type = EAknCtMultilineQuery;
id = EMultilineSecondLine;
control = AVKON_DATA_QUERY
{
layout = EMultiDataSecondEdwin;
label = "Data to post";
control = EDWIN
{
flags = EEikEdwinNoHorizScrolling | EEikEdwinResizable;
width = 25;
lines = 1;
maxlength = 128;
};
};
}
};
}