home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!charon.amdahl.com!pacbell.com!decwrl!concert!gatech!bloom-beacon!eru.mt.luth.se!lunic!sunic!mcsun!ub4b!news.cs.kuleuven.ac.be!blekul11!frmop11!barilvm!bimacs!liran
- From: liran@bimacs.BITNET (Eshel Liran)
- Newsgroups: comp.sys.mac.programmer
- Subject: patching GetResource
- Message-ID: <4453@bimacs.BITNET>
- Date: 15 Nov 92 12:35:46 GMT
- Organization: Math & CS, BarIlan U, Ramat-Gan, Israel
- Lines: 16
-
- I wrote a small INIT which is supposed to patch GetResource.
- The problem is that at install time when I get the trap's
- address, the address I get is of a code resource, and not
- equel to the address I see when I type _GetResource in
- MacsBug.
- My guess is that some other code resource patched the trap
- before me (who could it be when I am using a minimal sys 7 ?)
- At patch time when I try to reference the trap's address I
- got at install time, the address is not relevant any more,
- and I can't call the 'old' GetResource from my 'new' GetResource.
-
- Any Ideas ?
- Thanks,
- Liran Eshel,
- Bar-Ilan University, ISRAEL
- liran@bimacs.cs.biu.ac.il
-