home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.mac.programmer
- Path: sparky!uunet!pageworks.com!world!eff!sol.ctr.columbia.edu!zaphod.mps.ohio-state.edu!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!ira.uka.de!math.fu-berlin.de!unidui!rrz.uni-koeln.de!Germany.EU.net!mcsun!sunic!kth.se!hemul.nada.kth.se!d88-jwa
- From: d88-jwa@hemul.nada.kth.se (Jon WΣtte)
- Subject: Re: WaitNextEvent availability
- Message-ID: <1992Nov12.195109.14062@kth.se>
- Sender: usenet@kth.se (Usenet)
- Nntp-Posting-Host: hemul.nada.kth.se
- Organization: Royal Institute of Technology, Stockholm, Sweden
- References: <1dsp39INN9sq@huon.itd.adelaide.edu.au>
- Date: Thu, 12 Nov 1992 19:51:09 GMT
- Lines: 34
-
- In <1dsp39INN9sq@huon.itd.adelaide.edu.au> Craig Kloeden <ckloeden@f.itd.adelaide.edu.au> writes:
-
- >WaitNextEvent exist?
-
- Any system with MultiFinder on, and System 6.0 and up even
- if MultiFinder is off. I don't give a **** about people running
- systems < 6.0, so I always call WaitNextEvent. I'm starting to
- demand System 7 as well, these days.
-
- >Also, is there an easy way to tell if it is available?
-
- Sure, just call NGetTrapAddress with the trap number of
- WaitNextEvent, and compare to the address of the unimplemented
- trap.
-
- ABout MultiFinder; you don't want to or need to know wether
- it is implemented or not.
-
- >I have looked at the stuff in IM VI but the references
- >to GetTrapAddress and NGetTrapAddress confuse me
- >somewhat. Like when is NGetTrapAddress available and
- >how do you interpret what it returns etc.
-
- NGetTrapAddress is implemented on all but the very oldest
- macs. A Plus and up surely has NGetTrapAddress. The sad
- truth about Inside Mac I-III is that they contain a lot of
- irrelevant (now) or old material, and IV and V also feel
- "old."
-
- --
- -- Jon W{tte, h+@nada.kth.se, Mac Hacker Suedoise (not french speaking) --
-
- There's no problem that can't be solved using brute-force algorithms
- and a sufficiently fast computer. Ergo, buy more hardware.
-