home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / sys / mac / programm / 19686 < prev    next >
Encoding:
Text File  |  1992-12-11  |  1.8 KB  |  39 lines

  1. Newsgroups: comp.sys.mac.programmer
  2. Path: sparky!uunet!elroy.jpl.nasa.gov!sdd.hp.com!zaphod.mps.ohio-state.edu!darwin.sura.net!gatech!concert!sas!mozart.unx.sas.com!studly.mac.sas.com!Michael_Hecht
  3. From: Michael Hecht <Michael_Hecht@mac.sas.com>
  4. Subject: Re: Try doing this...
  5. Sender: news@unx.sas.com (Noter of Newsworthy Events)
  6. Message-ID: <Bz47GB.Bv6@unx.sas.com>
  7. X-Useragent: Nuntius v1.1.1d15
  8. Date: Fri, 11 Dec 1992 21:52:59 GMT
  9. X-Xxdate: Fri, 11 Dec 92 21:50:02 GMT
  10. X-Xxmessage-Id: <A74E773A6E01050A@studly.mac.sas.com>
  11. References: <01050133.ko6do1@distant.uucp> <Bz2n8F.ss@taligent.com> <1992Dec11.134857.5798@rhrk.uni-kl.de> <1992Dec11.201701.18762@cis.uab.edu>
  12. Nntp-Posting-Host: studly.mac.sas.com
  13. Organization: SAS Institute Inc.
  14. Lines: 23
  15.  
  16. In article <1992Dec11.134857.5798@rhrk.uni-kl.de> Frank Lohse,
  17. lohse@rhrk.uni-kl.de writes:
  18. >[...] MenuChoice seems to cause the problem.
  19. >If I disable MenuChoice everything works fine on my machine.
  20.  
  21. MenuChoice redefines _MenuSelect such that it doesn't preserve the
  22. current resource file. It resets it to the top of the resource chain,
  23. probably because it opens its resource file, then closes it.
  24.  
  25. Is this a problem? Well, yes, if your app opens another app's resource
  26. fork and the user selects a menu item whose code is in an unloaded
  27. segment. You might end up loading a CODE segment from the other app's
  28. resource fork instead of your own. Just imagine the kinds of havoc that
  29. can wreak!
  30.  
  31. I've already reported this to MenuChoice's author, so maybe a new version
  32. will be coming out soon. I hope so, because I find it extremely useful!!
  33.  
  34. --Michael
  35.  
  36. =======================================================================
  37. Michael P. Hecht                 | Internet:  Michael_Hecht@mac.sas.com
  38. SAS Institute Inc.; Cary, NC USA | AppleLink: SAS.HECHT
  39.