zoukankan      html  css  js  c++  java
  • ApplicationClosedUser129(转)

    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

  • 相关阅读:
    Linux学习之二——档案与目录的属性和权限
    Linux学习之一——开机必备知识
    阿里云实战之二(mysql+phpmyadmin)
    阿里云实战之一(必备程序安装)
    简要揭秘在线代码编辑器
    磕磕碰碰的Chrome之plugin开发
    Oracle导出的sql执行出错
    Spring学习(八)
    Spring学习(七)
    Spring学习(六)
  • 原文地址:https://www.cnblogs.com/yaoliang11/p/1935443.html
Copyright © 2011-2022 走看看