home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / sys / mac / programm / 15113 < prev    next >
Encoding:
Text File  |  1992-09-08  |  1.1 KB  |  31 lines

  1. Newsgroups: comp.sys.mac.programmer
  2. Path: sparky!uunet!cs.utexas.edu!tamsun.tamu.edu!inetg1!nuntius
  3. From: John Champion <dedjhc@arco.com>
  4. Subject: Patching the _Launch Trap
  5. Message-ID: <1992Sep8.024049.20121@Arco.COM>
  6. Sender: news@Arco.COM
  7. Organization: Arco Alaska Inc.
  8. X-Useragent: Nuntius v1.1
  9. Date: Tue, 8 Sep 1992 02:40:49 GMT
  10. Lines: 19
  11.  
  12. Hi all,
  13. I'm trying to install a fairly unobtrusive head patch into the _Launch
  14. trap.  The problem is that no matter what I do, my patch always gets
  15. re-patched (presumeably by the system).  This unknown code does not pass
  16. control down the line like a normal patch would, so my code never gets
  17. called.
  18.  
  19. I've tried patching at various times during startup to no avail.  If I
  20. patch at init-launching time, my code gets called once (when Finder is
  21. launched) and nevermore after that point.  If I patch after startup has
  22. completed, then my patch gets re-patched before my code gets called even
  23. once!
  24.  
  25. I'm using system 7, and I have no problem requiring it for my
  26. application.  Does anyone have any ideas for getting around this
  27. patch-happy little gremlin?  Thanks in advance for any advice.
  28.  
  29.  
  30. -John Champion      dedjhc@arco.com
  31.