Hi ,all

How to use create Radio Button Settings Page, i have tried the codes listed below, but it always reported the error: kern-exec3

/////////////// CPP file /////////////////////////
CDesCArray* listArray = new(ELeave) CDesCArrayFlat(2);
listArray->AppendL( _L("1\tBackup") );
listArray->AppendL( _L("0\tRestore") );

CAknRadioButtonSettingPage* syncModePage = new ( ELeave )CAknRadioButtonSettingPage(R_SYNC_LIST_OPTIONS_SYNCMODE, iSyncMode, listArray );

syncModePage->ExecuteLD(CAknSettingPage::EUpdateWhenAccepted);
////////////////////////////////////////////////////////////////

/////////////// RSS File ///////////////////////////////////////
RESOURCE AVKON_SETTING_PAGE r_sync_list_options_syncmode
{
number = EAknSettingPageNoOrdinalDisplayed;
label = qtn_sync_list_options_syncmode_title;
type = EEikCtChoiceList; //EEikCtOptionButton
editor_resource_id = 0; //r_sync_options_syncmode;
}
///////////////////////////////////////////////////////

I am getting an exception on the line where I use ExecuteLD. Could someome please tell me whats the problem..........?

Thanks

huwell