help me....
| Fri, 2008-08-29 12:08 | |
|
|
Could any1 tell me why this function leave: // Create an array of icons, reading them from the file |
| Fri, 2008-08-29 12:08 | |
|
|
Could any1 tell me why this function leave: // Create an array of icons, reading them from the file |
Forum posts: 27
I am very new in symbian ......Plzz help me.....
Forum posts: 672
What is the leave code?
Forum posts: 27
I am very new in Symbian ,hw can i find out the leave code?
Forum posts: 27
perhaps u r asking about the instruction comes in debug code,that is Multiple markers in this line........
Forum posts: 672
Well if nothing else, you can call this method inside TRAPD and check out the leave code in debugger.
Forum posts: 159
Take out the nested call and put the trap first on the first line i.e.
icons->AppendL(iEikonEnv->CreateIconL(*iconFileName, EMbmMylistPen_icon, EMbmMylistPen_icon_mask));//
TRAPD(ret, iEikonEnv->CreateIconL(*iconFileName, EMbmMylistPen_icon, EMbmMylistPen_icon_mask));
if ret isn't KErrNone (0) the problem is with that line, if it is KErrNone do a similar thing with the full line.
TRAPD(ret2, icons->AppendL(iEikonEnv->CreateIconL(*iconFileName, EMbmMylistPen_icon, EMbmMylistPen_icon_mask)));
If the first TRAP leaves take a look at iconFileName, make sure its not null, if its not then does it contain sensible looking data?
etc.
Forum posts: 27
Thxx for the reply ,but i still have the problem........
i did TRAPD(ret, iEikonEnv->CreateIconL(*iconFileName, EMbmMylistPen_icon, EMbmMylistPen_icon_mask));
nd get the value x=-858993460.......I don't know what to do??
Plzz help me......
Forum posts: 27
Hi i took the reference from markable list present in symbian.....but it doesn't work in my project.....can any1 help me...........can i show the whole code.........
Forum posts: 293
you can get non-markable/markable list from this link.
http://wiki.forum.nokia.com/index.php/Custom_list
Thanks & Regards
Ram
Symbian OS 9.1,S60 3rd edition MR,and Carbide.C++