Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!apple!apple.com!gandalf From: gandalf@apple.com (Martin Gannholm) Newsgroups: comp.sys.mac.programmer Subject: Re: Adding MENU generates "Unexpected error 69320382, [SORRY]" Message-ID: <11917@goofy.Apple.COM> Date: 30 Jan 91 18:40:24 GMT Sender: usenet@Apple.COM Organization: Apple Computer, Inc. Lines: 43 References:<1991Jan26.210319.3409@midway.uchicago.edu> <22935@well.sf.ca.us> In article <22935@well.sf.ca.us> gurgle@well.sf.ca.us (Pete Gontier) writes: > In article <1991Jan26.210319.3409@midway.uchicago.edu> martin@cs.uchicago.edu writes: > >For some reason Hypercard (also Microsoft Word) doesn't like the MENU > >that I'm adding from my INIT/DRVR: > > > >The INIT that does an OpenDeskAcc. In the open routine of the DRVR, I > >do (abbreviated): > > > > PEA -4(A5) > > _InitGraf > > InitFonts; > > GetMenu > > DetachResource > > Whoa there! You don't need to do an _InitGraf in a DA! And if you do find a > reason to do it, certainly don't do it relative to A5, because you're likely > to trash your host application's QuickDraw. Exactly. Gontier goes on to say: > Finally, re: MS Word and HyperCard, good luck. They've always been notorious > as rule breakers. OK, the original version of HyperCard was a rule breaker in a big way. I'd just like to clear the record that we did everything we could to follow the rules in HyperCard 2.0. A fair piece of the 2.0 effort was in rewriting many parts in order to follow the rules of IM. Some parts that spring to mind are: all file manager stuff; all use of QuickDraw (remember, Bill wrote QuickDraw too, so he knew how to bend the rules); menu handling; window handling...and a lot more. Martin Gannholm HyperCard 2.0 Engineer Apple Computer Exclaimer!!! I never said it...Nobody heard me say it...You can't prove anything!