home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.mac.programmer
- Path: sparky!uunet!sun-barr!cs.utexas.edu!sdd.hp.com!elroy.jpl.nasa.gov!decwrl!decwrl!world!aep
- From: aep@world.std.com (Andrew E Page)
- Subject: Re: NSetTrapAddress question
- Message-ID: <BxGF2r.3JM@world.std.com>
- Organization: The World Public Access UNIX, Brookline, MA
- References: <1992Nov8.192724.4629@mnemosyne.cs.du.edu>
- Date: Mon, 9 Nov 1992 15:01:39 GMT
- Lines: 9
-
-
- Cast the address of your patch function as a 'long'.
-
- NSetTrapAddress((long)newTrap, 0xA9BC, Tooltrap);
-
- --
- Andrew E. Page (Warrior Poet) | Decision and Effort The Archer and Arrow
- Mac Consultant | The difference between what we are
- Macintosh and DSP Technology | and what we want to be.
-