• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: error exit
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: error exit


  • Subject: Re: error exit
  • From: Uli Kusterer <email@hidden>
  • Date: Mon, 1 Sep 2008 11:29:35 +0200

On 31.08.2008, at 00:41, Fritz Anderson wrote:
If you are asking about a Carbon application, you should be asking (with a _lot_ more details, and showing that you have done much, much more homework than you've shown so far) on Apple's carbon-dev mailing list. Look at ExitToShell().


ExitToShell() is an abnormal, immediate exit (which is not what [NSApp terminate:] is, because that gives you the opportunity to save data before it quits). If an equivalent is desired, you should really be calling QuitApplicationEventLoop() in Carbon. ExitToShell() is pretty much equivalent to Unix's exit() call, so not really a desirable choice for most Mac apps.

Cheers,
-- Uli Kusterer
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de





_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: error exit
      • From: Fritz Anderson <email@hidden>
  • Next by Date: Re: Xcode locking up in building
  • Next by thread: Re: error exit
  • Index(es):
    • Date
    • Thread