Hi friend,
I have tried by using given code for customized listbox from the link which u have given.But here it gets KERN EXEC 3 ERROR .so where i am wrong? .
Regards
mitu
How will anybody know without further information?
Come on, seriously, fire up a debugger and check where the error happens!
If you don't have a debugger, or don't know how to debug, let me tell you that serious Symbian programming is more or less impossible without a debugger, and it would be high time for you to get one and/or learn how to debug.
HI rene,
Thanks for ur resonse.In fact, i am not a newbie in symbian.But some abstract things make more complicated.so that
confusing happens more.i have debugged seriously but i couldn't able trace exact line.
After following line in my appui class it gets closed and shown KERN EXEC 3 ERROR.For this i thought it happens only due to
stack or heap memory overflow.so that i also reset stack memory. still then it couldn't get any other result .
iAppView = new (ELeave) CMyListBoxAppView();
iAppView->ConstructL(ClientRect());
AddToStackL(iAppView);
AddToStackL(iAppView->ListBox());
} //after this it gets closed.
Regards
mitu
I saw that this code snippet really is in the original sample source.
It looks strange to me. I never added a listbox to the input stack so far, without any problems that I know of. Maybe in UIQ (it's an UIQ example, after all), this is not necessary, but does no harm either, but somehow in S60 it crashes.
Forum posts: 1093
Did you already check this?
http://www.newlc.com/Subclassing-List-Box-in-Symbian.html
Easy to find by just typing "listbox" into the search box in the upper right corner...
René Brunner
Forum posts: 55
HI rbrunner,
Thanks for quick reply.now i will check it out.
Regards
mitu
Forum posts: 55
Hi friend,
I have tried by using given code for customized listbox from the link which u have given.But here it gets KERN EXEC 3 ERROR .so where i am wrong? .
Regards
mitu
Forum posts: 1093
How will anybody know without further information?
Come on, seriously, fire up a debugger and check where the error happens!
If you don't have a debugger, or don't know how to debug, let me tell you that serious Symbian programming is more or less impossible without a debugger, and it would be high time for you to get one and/or learn how to debug.
René Brunner
Forum posts: 55
HI rene,
Thanks for ur resonse.In fact, i am not a newbie in symbian.But some abstract things make more complicated.so that
confusing happens more.i have debugged seriously but i couldn't able trace exact line.
After following line in my appui class it gets closed and shown KERN EXEC 3 ERROR.For this i thought it happens only due to
stack or heap memory overflow.so that i also reset stack memory. still then it couldn't get any other result .
void CMyListBoxAppUi::ConstructL()
{
BaseConstructL();
iAppView = new (ELeave) CMyListBoxAppView();
iAppView->ConstructL(ClientRect());
AddToStackL(iAppView);
AddToStackL(iAppView->ListBox());
} //after this it gets closed.
Regards
mitu
Forum posts: 1093
I saw that this code snippet really is in the original sample source.
It looks strange to me. I never added a listbox to the input stack so far, without any problems that I know of. Maybe in UIQ (it's an UIQ example, after all), this is not necessary, but does no harm either, but somehow in S60 it crashes.
Try not adding the listbox to the input stack.
René Brunner