Re: error exit
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