Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!uwm.edu!zaphod.mps.ohio-state.edu!brutus.cs.uiuc.edu!apple!dlyons From: dlyons@Apple.COM (David A. Lyons) Newsgroups: comp.sys.apple2 Subject: Re: Argh! That blasted StartUpTools()! Message-ID: <42637@apple.Apple.COM> Date: 4 Jul 90 22:46:31 GMT References: <9005291535.AA26340@apple.com> <42396@apple.Apple.COM> <1417@madnix.UUCP> Organization: Apple Computer Inc, Cupertino, CA Lines: 34 In article <1417@madnix.UUCP> jason@madnix.UUCP (Jason Blochowiak) writes: >In article <42396@apple.Apple.COM> dlyons@Apple.COM (David A. Lyons) writes: >[...] >>It would be better to use your REAL user ID, as returned by MMStartUp. >>Why? For one thing, it's simpler. For another, by feeding it to >>StartUpTools you're feeding it to ResourceStartUp, and you're losing >>the benefit of having the system automatically call SetCurResourceApp >>for you whenever it calls your NDA's Action & other routines. > >Has this been guaranteed? I thought that this was something that was >true, but may not be at some point in the future. Is which part guaranteed? Technical notes guarantee that it's okay to call MMStartUp whenever you feel like it, to get the ID of the memory block you're in. A technical note coming out in the July batch by yours truly talks about the Desk Manager calling SetCurResourceApp for you when it calls your NDA routines. >Has engineering given much/any thought to adding something to the >Desk Mgr to coordinate the way that NDA's use tools? It seems that NDA & tool >interaction is a source of a major amount of confusion, and, as such, a cause >of problems. I believe this is an area where your input would be helpful. I am interested in making it easier to use tools from NDAs, but I don't have all the answers. -- David A. Lyons, Apple Computer, Inc. | DAL Systems Apple II Developer Technical Support | P.O. Box 875 America Online: Dave Lyons | Cupertino, CA 95015-0875 GEnie: D.LYONS2 or DAVE.LYONS CompuServe: 72177,3233 Internet/BITNET: dlyons@apple.com UUCP: ...!ames!apple!dlyons My opinions are my own, not Apple's.