×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Regular Contributor
    Join Date
    Aug 2008
    Posts
    62

    Must I delete ViewfinderFrame?

    Hello,

    must I delete or in any other way deallocate aFrame in MCameraObserver::ViewFinderFrameReady(CFbsBitmap& aFrame) ?
    Must I delete the CFbsBitmap structure? Or the pixel data it's pointing to (aFrame.DataAddress()) ?

    Thanks, Neven

  2. #2
    Registered User
    Join Date
    Apr 2005
    Location
    Barcelona
    Posts
    1,678

    Re: Must I delete ViewfinderFrame?

    No, you must not. Ownership is not transfered to you.

  3. #3
    Registered User
    Join Date
    Dec 2006
    Posts
    2,280

    Re: Must I delete ViewfinderFrame?

    Exactly, but you must copy it if you want to use it outside the callback because it will go out of scope.

    Sorcery

Similar Threads

  1. Delete function help
    By 1symbian1 in forum Symbian
    Replies: 30
    Last Post: 2008-10-30, 19:50
  2. Delete operator of a custom memory allocator
    By cflaviu in forum Symbian
    Replies: 3
    Last Post: 2008-03-26, 13:49
  3. crash for overloaded delete operator
    By mihirg in forum Symbian
    Replies: 2
    Last Post: 2007-10-09, 12:08
  4. can not successfully link any sample using .NET
    By lobotomat in forum Symbian Tools & SDKs
    Replies: 2
    Last Post: 2002-08-20, 00:29
  5. Creating and Delete databases
    By -kevbo- in forum Symbian
    Replies: 1
    Last Post: 2001-12-13, 12:54

Posting Permissions

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