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

  • 相关阅读:
    Wireshark抓取iPhone的数据包
    AVSpeechSynthesizer
    NSData,Byte,NSString 转换
    app 国际化
    带颜色日志
    swift生成二维码
    CocosPods安装和导入第三方框架
    多线程总结
    计算机系统导论——读书笔记——第六章 存储器层次结构
    数据结构与算法——编程作业——内排序&外排序
  • 原文地址:https://www.cnblogs.com/yaoliang11/p/1935443.html
Copyright © 2011-2022 走看看