×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Jul 2009
    Posts
    9

    delete CAknSearchField object causing KERN-EXEC 3

    I've seen several threads related to problems with CAknSearchField but none of them seem to address the problem I am having.

    I am trying to modify code written by someone else which appears to be based on a list example where CreateFilterL is used to attach a CAknSearchField object (iFindBox) to a CAknSingleGraphicStyleListBox object.

    I have added:

    iFindBox->SetFocus(ETrue);

    to the code so that text may be entered into the search field. Without the SetFocus() call, all keys are treated as numbers.

    After adding the SetFocus() call, I get a KERN-EXEC 3 panic when:

    delete iFindBox;

    is executed. I've tried calling iFindBox->SetFocus(EFalse) before deactivating the view but that didn't help.

  2. #2
    Registered User
    Join Date
    Jun 2007
    Location
    Mumbai, India
    Posts
    1,998

    Re: delete CAknSearchField object causing KERN-EXEC 3

    Hi,

    Wecome to FN DiBo.

    Can you provide more hints on how you are initialising iFindBox and where you are deleting it.

Similar Threads

  1. KERN EXEC 3
    By rati2010 in forum Symbian User Interface
    Replies: 0
    Last Post: 2009-01-16, 09:20
  2. Kern Exec :0 error..?
    By remesh in forum Symbian Networking & Messaging (Closed)
    Replies: 2
    Last Post: 2009-01-08, 10:06
  3. why not delete all the object
    By ceehira in forum Symbian User Interface
    Replies: 0
    Last Post: 2005-07-11, 12:10
  4. please help! setting page issue (checkbox) kern exec 3
    By flicker82 in forum Symbian User Interface
    Replies: 4
    Last Post: 2005-02-10, 12:57
  5. can not successfully link any sample using .NET
    By lobotomat in forum Symbian Tools & SDKs
    Replies: 2
    Last Post: 2002-08-20, 00:29

Posting Permissions

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