Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!mips!apple!dlyons From: dlyons@Apple.COM (David A. Lyons) Newsgroups: comp.sys.apple Subject: Re: Hlep with QuitGS Needed Message-ID: <39114@apple.Apple.COM> Date: 1 Mar 90 22:56:52 GMT References: <900228173258.348448@DOCKMASTER.NCSC.MIL> Organization: Apple Computer Inc, Cupertino, CA Lines: 33 In article <900228173258.348448@DOCKMASTER.NCSC.MIL> TMPLee@DOCKMASTER.NCSC.MIL writes: >I'm trying to write an application that does some processing on the GS, >creates a couple of files, starts up my PC Transporter, and then resumes >when the PCT is done. >[...] >When I tried it with a very short program to make sure I had the calling >sequence right, it seemed to work. When I put that code in my real >application it didn't -- on return from the PCT it displayed the One >Moment Please ... message and then gave me a system error $0003. The Finder gives you the message "Unable to load necessary tools. Error number $0003" if it has any trouble starting things up--this includes having a toolset *already* started up when it shouldn't be. It sounds like the system was trying to run the Finder, not your application. That would mean you didn't successfully make a Quit call with the return-to-me bit set in the flags ($8000). >I've tried it using both $8000 (reload application) or $0 for the quit >flags (also, with parameter count 1 or 2.) I also tried it including a >shutDownTools call just before the QuitGS call. (different errors in >all these different cases.) "Different" errors? I could be more helpful with the numbers. Did your ShutDownTools correspond to a StartUpTools call you had made in your application? -- 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.