Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cwjcc!tut.cis.ohio-state.edu!bloom-beacon!apple!tecot From: tecot@Apple.COM (Ed Tecot) Newsgroups: comp.sys.mac.programmer Subject: Re: Notification Manager at Boot Message-ID: <26330@apple.Apple.COM> Date: 24 Feb 89 21:15:35 GMT References: <2430@ilium.cs.swarthmore.edu> Distribution: na Organization: Apple Computer Inc, Cupertino, CA Lines: 15 In article <2430@ilium.cs.swarthmore.edu> jackiw@swatsun.UUCP () writes: >Now if I try "Checking for Specify >Functionality" ala TN#156, by comparing trap 0x5E (NMInstall)'s address >to trap 0x9F (UnImplementTrap), the comparison FAILS under old systems, >where the Notification Manager is undefined. > >Q: HOW DO I TELL IF I CAN USE IT DURING MY INIT, SO I CAN CONFIGURE MY >FUTURE BEHAVIOR APPROPRIATELY? You've got the right idea. I suspect that you are using GetTrapAddress instead of NGetTrapAddress. By doing so, you are finding that BitSet, which is TOOLBOX trap 0x5E is installed. NMInstall is an OS trap. The correct call is NGetTrapAddress(0x5E, OSTrap). _emt