Discussion Board

Results 1 to 2 of 2
  1. #1
    Regular Contributor
    Join Date
    Aug 2007

    Exit during UI-creation.


    I have an app that does some initialization in the UI 2nd phase constructor (ConstructL). Some of the things included in this requires user interaction, and I want the app to close if the user choses Cancel at any time. However, calling Exit() in the constructor seems to cause a CONE 8 error upon shutdown. Is there another way to close the app on creation?


    Sebastian Ahlman

  2. #2
    Registered User
    Join Date
    Aug 2003
    Oulu, Finland

    Re: Exit during UI-creation.

    I'd guess you're leaking a window server resource e.g. a bitmap yourself.

    I wrote some test code and did not encounter any CONE 8 problems with Exit() during construction. I haven't seen it before either. Exit() in ConstructL() is a rare beast though --- user interaction is usually handled after construction is complete and construction errors are dealt with a leave.


Similar Threads

  1. why my does not exit on N73 when i push exit soft key?
    By byronlilu in forum Mobile Java General
    Replies: 2
    Last Post: 2007-06-28, 21:29
  2. Tool exit status codes on "make"
    By newnb in forum Symbian
    Replies: 0
    Last Post: 2006-10-02, 21:55
  3. Exit question...
    By GeKI in forum Symbian
    Replies: 0
    Last Post: 2006-07-06, 15:56
  4. N70 Reset bug
    By sebboB in forum General Development Questions
    Replies: 2
    Last Post: 2005-12-28, 23:09
  5. UNDESIRED Exit command key.
    By tektronic in forum Mobile Java General
    Replies: 4
    Last Post: 2005-05-13, 18:27

Posting Permissions

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