×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Regular Contributor
    Join Date
    Oct 2003
    Location
    Spain
    Posts
    329

    How to close embedded app without killing the main process

    Hi there,

    Mi app is opened by the browser to handle a Mime-type. When It makes some process I want to close it but not the browser.

    I've tried Exit() and User::Exit(0). In the first scenario the app closes, but the browser gives me a CONE 30 error.
    The second case closes both the app and the browser.

    Does anybody have a idea?

    Thanks in advance.
    Toni

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

    I usually call Save() before the Exit() line,a nd then in your AppUI's destructor you need to call the Notify fucntion call for the doorobserver, so the main app knows that the embedded app has closed.

    yucca

  3. #3
    Regular Contributor
    Join Date
    Oct 2003
    Location
    Spain
    Posts
    329
    Hi yucca,

    Thanks for your quick response. I'll try it.

    Bye

Posting Permissions

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