×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Aug 2006
    Location
    Istanbul - Turkiye
    Posts
    37

    how to append parts of a file......

    hi,
    my app crashes here
    ClientBodyReceived(const TDesC8& aBodyData, TBool isLast){
    data8->Insert(data8->Length(), aBodyData);
    }
    it is an observer method, so it is called many times.
    and i have to append all the values of aBodyData to a descriptor like data8.
    do you have any suggestions???

    thanks a lot....

  2. #2
    Registered User
    Join Date
    Feb 2006
    Location
    London
    Posts
    34

    Re: how to append parts of a file......

    Does it crash on the first call, or does it crash after a random/certain number of calls ??

    Are you making sure that the data8 variable is large enough for the data that is being inserted into it ??
    What type of variable is data8 ?? is it a HBufC8 ??

    Can only guess as to the problem without much more

  3. #3
    Super Contributor
    Join Date
    May 2005
    Location
    Hyderabad,India
    Posts
    704

    Re: how to append parts of a file......

    Hi,

    i hope problem was with data8, any way check the size of data8.

    regards,
    eswar

Similar Threads

  1. File reading & writing help, wav file redaing help
    By shubhamlahoti in forum Mobile Java General
    Replies: 6
    Last Post: 2007-06-27, 09:07
  2. strange behavior on sending jar file via WAP for different mobile network
    By thone in forum Digital Rights Management & Content Downloading
    Replies: 2
    Last Post: 2005-10-28, 07:53
  3. Replies: 0
    Last Post: 2005-10-27, 20:51
  4. Replies: 0
    Last Post: 2002-11-19, 08:25

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×