Application-Closed-User-129(转)

Originally Posted by HAHAPrince

Hi Everybody,
What is the wrong with this error???

The SDK is pretty straight forward in telling about the error, did you check it :-

129
This panic is raised when constructing an array of fixed length objects, an RArray, and the length of the array elements is one of the following:
zero
negative
greater than 640.

So check the usage of your arrays and see what you are doing wrong

Also HAHAPrince you have been around for awhile already, thus, you propably have been told that you should debug your application, and try finding out which line is giving you the error, and when you find it, you could post the code around the line to show a bit on what you are doing.
anyway, do not post the whole project, just the parts that are before the line that is giving you the problem..

Hi guys,
I have implemented the Database Example and using RArray to read database items. I am also getting User129. As we know this is because of the size restriction of Template class. So, what can be the other option to read whole database without any size restrictions?

 

You could maybe make CBase derived items, that stores string values in HBufC, and use RPointerArray to store the items.

Hi Sumit,
You may use RPointerArray or CArrayFixFlat<TAny> or CArrayPtrFlat to store your database items.
Thanks,
Eswar

 

Thanks eswar and yucca. I will try it and get back to you. Do you guys have any example or link to refer the use of RPointerArray.

Hi Sumit,
Search in Forum Nokia Wiki examples or SDK examples for using RPointerArray.
Thanks,
Eswar

posted @ 2011-01-14 13:14  冰岛  阅读(212)  评论(0编辑  收藏  举报