Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wotan!moxie!texsun!cronkite!sun-barr!olivea!samsung!zaphod.mps.ohio-state.edu!sdd.hp.com!news.cs.indiana.edu!ux1.cso.uiuc.edu!resnick From: resnick@cogsci.uiuc.edu (Pete Resnick) Newsgroups: comp.sys.mac.programmer Subject: Re: Testing for System 7 Message-ID: <1991Jun29.040825.12123@ux1.cso.uiuc.edu> Date: 29 Jun 91 04:08:25 GMT References: <1991Jun27.125511.19565@runx.oz.au> <54449@apple.Apple.COM> Sender: usenet@ux1.cso.uiuc.edu (News) Distribution: na Organization: University of Illinois at Urbana Lines: 16 davids@mondo.engin.umich.edu (David Snearline) writes: >Except that you would have to check the version of the system to see >if _Gestalt exists... :-) No, no, no. Very bad. Check for the existence of the _Gestalt trap by looking to see if it is in the trap table using NGetTrapAddress. You *never* need to look at the version number of the operating system. pr -- Pete Resnick (...so what is a mojo, and why would one be rising?) Graduate assistant - Philosophy Department, Gregory Hall, UIUC System manager - Cognitive Science Group, Beckman Institute, UIUC Internet/ARPAnet/EDUnet : resnick@cogsci.uiuc.edu BITNET (if no other way) : FREE0285@UIUCVMD