Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!pt.cs.cmu.edu!andrew.cmu.edu!ml10+ From: ml10+@andrew.cmu.edu (Michael A. Libes) Newsgroups: comp.sys.mac.programmer Subject: Re: SubLaunch return codes Message-ID: Date: 11 Dec 89 22:49:34 GMT References: <9235@hoptoad.uucp>, <2768@cbnewsj.ATT.COM> Organization: Class of '91, Carnegie Mellon, Pittsburgh, PA Lines: 20 In-Reply-To: <2768@cbnewsj.ATT.COM> >Interesting, because most of the time when I try something like that with a >SubLaunch, the trap returns a -10 and not a -108. Mike Libes mentioned >he has the same thing happening with his _Launch program, ie, not >enough memory to SubLaunch an application results in a -10 return >code. I'm completely mystified by this! The only codes I have ever recieved from the _Launch trap are -10 and -9. A -9 is returned if the structure passed to _Launch doesn't correctly point to an application or if the document list is invalid in any way. Perhaps different versions of Multifinder return different codes. I'm using 6.0.3 and I've never recieved a -108. There should also be a code for "Heap is fragmented, not enough contiguous space." I've recieved a message like this from Finder but couldn't duplicate the conditions to test it within my _Launch program. Does the MacTech Quarterly list any other return codes besides the Memory manager errors, -10, and -9? I don't have access to that journal. - luni