Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Mar 2008

    why does emulator shut down with this code?

    I have the following code that shuts down the emulator at 'myBuffer1 = iCheckAccAppUi->NoArray->MdcaPoint(i);'
    I am guessing its because the querylist now has the ownership of NoArray from reading comments in the code for the list query
    there are no compile/linking errors.
    I want to be able to place the selected item text into an edit box.

    How do I get access to that array after the List Query is done with it

    case EKeyOK:
    if (iFocusControlIndex == 0)
    myBuffer1.Copy (CheckNoText);
    i = iCheckAccContainer2View->RunListQuery1L(&myBuffer1,iCheckAccAppUi->NoArray,NULL);
    myBuffer1 = iCheckAccAppUi->NoArray->MdcaPoint(i); EMULATOR SHUTS DOWN HERE LINE ******
    iEdit1->SetTextL (&myBuffer1);
    return EKeyWasConsumed;

    Thank You

    Last edited by dougg; 2009-12-17 at 17:16.

  2. #2
    Registered User
    Join Date
    Mar 2008

    Re: how to get back ownership from list query

    figured it out I guess the querylist dialog code created by the wizard seems to delete the itemArray so had to do a copy to a different array before calling the querylist.

Similar Threads

  1. list query Dialog
    By rokroff in forum Symbian
    Replies: 1
    Last Post: 2009-02-22, 09:36
  2. switching back to portrait mode column list box not displayed..
    By Rajani_sp in forum Symbian User Interface
    Replies: 0
    Last Post: 2007-12-06, 10:59
  3. Using dynamic list query
    By Thomas_ in forum Symbian User Interface
    Replies: 0
    Last Post: 2005-01-07, 13:12
  4. Bluetooth Virtual Serial Port
    By mealos in forum Bluetooth Technology
    Replies: 2
    Last Post: 2004-12-03, 03:46
  5. Query N3650 Contact list
    By edsung333 in forum General Development Questions
    Replies: 3
    Last Post: 2003-06-04, 01:02

Posting Permissions

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