Path: utzoo!attcan!uunet!cs.utexas.edu!rutgers!apple!han From: han@Apple.COM (Byron Han, wyl E. coyote ) Newsgroups: comp.sys.mac.programmer Subject: Re: Patching a trap address Message-ID: <31640@apple.Apple.COM> Date: 25 May 89 16:59:21 GMT References: <5563@hubcap.clemson.edu> <23164@dhw68k.cts.com> Organization: Apple R&D - Networking & Communications Lines: 19 In article <23164@dhw68k.cts.com> thecloud@dhw68k.cts.com (Ken McLeod) writes: > > The general strategy for patching traps is to first call GetTrapAddress, >which will give you the (current) address of the trap you're patching. >You save this address off somewhere in your code, and then call SetTrapAddress Actually NGetTrapAddress and NSetTrapAddress defined in IM-IV are the recommended calls. +-----------------------------------------------------------------------------+ | Disclaimer: Apple has no connection with my postings. | +-----------------------------------------------------------------------------+ Byron Han, Communications Scapegoat At Apple, we change the world everyday. Apple Computer, Inc. ----------------------------------------- 20525 Mariani Ave, MS27Y Internet: han@apple.COM Cupertino, CA 95014 UUCP:{sun,voder,nsc,decwrl}!apple!han ------------------------------------ GENIE:BYRONHAN CompuServe:72167,1664 ATTnet: 408-974-6450 Applelink:HAN1 HAN1@applelink.apple.COM -------------------------------------------------------------------------------