home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.mac.programmer
- 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
- From: Michael Hecht <Michael_Hecht@mac.sas.com>
- Subject: Re: Try doing this...
- Sender: news@unx.sas.com (Noter of Newsworthy Events)
- Message-ID: <Bz47GB.Bv6@unx.sas.com>
- X-Useragent: Nuntius v1.1.1d15
- Date: Fri, 11 Dec 1992 21:52:59 GMT
- X-Xxdate: Fri, 11 Dec 92 21:50:02 GMT
- X-Xxmessage-Id: <A74E773A6E01050A@studly.mac.sas.com>
- References: <01050133.ko6do1@distant.uucp> <Bz2n8F.ss@taligent.com> <1992Dec11.134857.5798@rhrk.uni-kl.de> <1992Dec11.201701.18762@cis.uab.edu>
- Nntp-Posting-Host: studly.mac.sas.com
- Organization: SAS Institute Inc.
- Lines: 23
-
- In article <1992Dec11.134857.5798@rhrk.uni-kl.de> Frank Lohse,
- lohse@rhrk.uni-kl.de writes:
- >[...] MenuChoice seems to cause the problem.
- >If I disable MenuChoice everything works fine on my machine.
-
- MenuChoice redefines _MenuSelect such that it doesn't preserve the
- current resource file. It resets it to the top of the resource chain,
- probably because it opens its resource file, then closes it.
-
- Is this a problem? Well, yes, if your app opens another app's resource
- fork and the user selects a menu item whose code is in an unloaded
- segment. You might end up loading a CODE segment from the other app's
- resource fork instead of your own. Just imagine the kinds of havoc that
- can wreak!
-
- I've already reported this to MenuChoice's author, so maybe a new version
- will be coming out soon. I hope so, because I find it extremely useful!!
-
- --Michael
-
- =======================================================================
- Michael P. Hecht | Internet: Michael_Hecht@mac.sas.com
- SAS Institute Inc.; Cary, NC USA | AppleLink: SAS.HECHT
-