Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User luzi82's Avatar
    Join Date
    Jun 2005
    Posts
    7
    I am using S60 3rd FP2 v1.1. I have followed the following example to download sis file by RHttpDownloadMgr:

    http://wiki.forum.nokia.com/index.ph...ogrammatically

    However, when I quit the application, ALLOC error dialog popup.

    I have tested my code in following way:

    - Start the app, quit the app, no error.
    - Start the app, create download, quit the app, no error.
    - Start the app, create download, start download, cancel in the file type dialog, no error.
    - Start the app, create download, start download, cancel in the middle of downloading, ALLOC error popup.
    - Start the app, create download, start download, complete the download, quit the app, ALLOC error popup.

    I have checked the following to ensure no memory leak:
    - Close the RHttpDownloadMgr in destructor.
    - delete the CDownloadMgrUiLibRegistry in destructor.

    Moreover, I found that the download manager in the emulator browser does not have that issue.

    Have I missed something to avoid the ALLOC error? Thanks.

  2. #2
    Nokia Developer Champion qxiaoyuan's Avatar
    Join Date
    Jul 2007
    Location
    ShenZhen, China
    Posts
    4,346
    you'd better use symbian memory check tools resolve the problem , it is hooklogger.
    ----------------------------
    坚持学习, 坚持编码
    http://www.devdiv.net/
    qxiaoyuan

Similar Threads

  1. some problem when using network on emulator
    By xhsoldier in forum Symbian Networking & Messaging (Closed)
    Replies: 9
    Last Post: 2006-12-06, 06:16
  2. How To Make The S60 Emulator See My USB Bluetooth Dongle ?
    By Mo7ammed_01 in forum Symbian Tools & SDKs
    Replies: 1
    Last Post: 2006-07-25, 00:14
  3. How To Make The S60 Emulator See My USB Bluetooth Dongle ?
    By Mo7ammed_01 in forum Symbian Networking & Messaging (Closed)
    Replies: 1
    Last Post: 2006-07-25, 00:12
  4. EAIF Emulator doesn't works properly in my case
    By savitaamin in forum General Messaging
    Replies: 1
    Last Post: 2002-08-14, 12:07
  5. start 6310i Emulator without SDK on Windows Commandline, How
    By ghaslbe in forum Mobile Java Tools & SDKs
    Replies: 1
    Last Post: 2002-08-11, 20:26

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved