I have make the multiview program,
There i have call the BaseConstruct in Appui class........But it Leaves......
I have use TRAP,i gives the result code: -858993460.....
Please tell me the reason......
class is:
void CMyMultiViewsAppUi::ConstructL()
{
//Initialise app UI with standard value
TRAPD(result,BaseConstructL(EAknEnableSkin));
if(KErrNone!=result)
{
User::Leave(result);
}
Forum posts: 27
thxx in advance.....
Forum posts: 1321
BaseConstructL() of which control class? And why don't you TRAP the leave and check the result code?
René Brunner
Forum posts: 27
Thxx for the response......
I have make the multiview program,
There i have call the BaseConstruct in Appui class........But it Leaves......
I have use TRAP,i gives the result code: -858993460.....
Please tell me the reason......
class is:
void CMyMultiViewsAppUi::ConstructL()
{
//Initialise app UI with standard value
TRAPD(result,BaseConstructL(EAknEnableSkin));
if(KErrNone!=result)
{
User::Leave(result);
}
iAppView1 = CMyMultiViewsView1::NewL();
iAppView2 = CMyMultiViews2::NewL();
// Transfer ownership to base class
AddViewL( iAppView1 );
AddViewL( iAppView2 );
SetDefaultViewL( *iAppView1 );
}
Forum posts: 27
Thxx in advance.....
Forum posts: 111
Hi,
Make sure that your AppUi class is derived from CAknViewAppUi when you are using view Architecture (this may not cause a crash).
and
check the resoure file, you may miss some important resource or its field.
Regards,
Dipak
DipakBaviskar