home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / sys / mac / programm / 18180 < prev    next >
Encoding:
Text File  |  1992-11-09  |  739 b   |  20 lines

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