Article View: comp.sys.mac
Article #15898Re: Detecting Quits.
From: Joel West
Date: Mon, 04 May 1987 15:00
Date: Mon, 04 May 1987 15:00
15 lines
1105 bytes
1105 bytes
In article <850@runx.ips.oz>, betz@runx.ips.oz (Andrew Betzis) writes:
>
> Nosy-ing the following three programmes, the following ways were used to
> detect applications quiting, all reassigned traps:
> Locator (DA) = ExitToShell
I don't know what these programs are doing. They're all wrong.
The right way is to look for a DRVRControl call of goodBye (-1),
the so-called "goodbye kiss". Set the block in the 'DRVR' header
needGoodbye. This is all well-documented in Inside Macintosh.
--
Joel West
{ucbvax,ihnp4}!sdcsvax!jww (ihnp4!gould9!joel if I ever fix news)
jww@sdcsvax.ucsd.edu if you must
Technical Details
Message-ID:
<3079@sdcsvax.UCSD.EDU>Path:
arc1-ca.pugleaf.net!utzoo!mnetor!seismo!esosun!ucsdhub!sdcsvax!jwwReferences:
<850@runx.ips.oz>Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!esosun!ucsdhub!sdcsvax!jww From: jww@sdcsvax.UCSD.EDU (Joel West) Newsgroups: comp.sys.mac Subject: Re: Detecting Quits. Message-ID: <3079@sdcsvax.UCSD.EDU> Date: Mon, 4-May-87 11:00:00 EDT Article-I.D.: sdcsvax.3079 Posted: Mon May 4 11:00:00 1987 Date-Received: Tue, 5-May-87 05:42:21 EDT References: <850@runx.ips.oz> Organization: Western Software Technology, Vista, CA Lines: 15