Application-Closed-User-129)

來源:互聯網
上載者:User

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

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.