×

Discussion Board

Results 1 to 6 of 6
  1. #1
    Registered User
    Join Date
    Jan 2009
    Posts
    4

    CFbsBitmap::Resize problem

    Hi,

    Is it possible to do resizing a bitmap between lock and unlock heap?
    I am getting FBSCLI 22 panic ,if I resize bitmap between lock and unlock heap.


    Thanks in Advance
    Parithi

  2. #2
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,144

    Re: CFbsBitmap::Resize problem

    According to SDK docs, this error is generated only in debug builds: "CFbsBitmap::LockHeap() has not been called prior to calling CFbsBitmap:ataAddress() (debug builds only). "

  3. #3
    Registered User
    Join Date
    Jan 2009
    Posts
    4

    Re: CFbsBitmap::Resize problem

    Thanks a lot symbianyucca

  4. #4
    Registered User
    Join Date
    Jan 2009
    Posts
    4

    Re: CFbsBitmap::Resize problem

    I have noticed that resize function is resetting LockCnt and base address of Bitmap.Is that the reason we should not call LockHeap before resize function?

  5. #5
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Budapest, Hungary
    Posts
    28,572

    Re: CFbsBitmap::Resize problem

    It may happen actually. A smaller bitmap obviously fits into the storage place of a larger one, however in the other case (enlarging a bitmap) it is probable that the bitmap has to be moved in the memory.

  6. #6
    Registered User
    Join Date
    Jan 2009
    Posts
    4

    Re: CFbsBitmap::Resize problem

    Thanks all for your comments

Similar Threads

  1. STLPort namespace issue
    By yickhong in forum Open C/C++
    Replies: 0
    Last Post: 2009-04-09, 08:54
  2. SyncML link problem
    By samuel_ in forum Symbian
    Replies: 4
    Last Post: 2009-03-27, 08:02
  3. Problem with eglSwapBuffers and heap corruption
    By greatape in forum Symbian Media (Closed)
    Replies: 2
    Last Post: 2007-05-24, 03:35
  4. netcards - Problem with opening adapter
    By kernj in forum Symbian Tools & SDKs
    Replies: 5
    Last Post: 2007-01-10, 08:56
  5. Problem: S60 SDK for CW in PC with .NET
    By anttij in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 1
    Last Post: 2005-02-28, 11:36

Posting Permissions

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