Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!rutgers!att!cbnewsj!mec From: mec@cbnewsj.ATT.COM (michael.e.connick) Newsgroups: comp.sys.mac.programmer Subject: Re: SubLaunch return codes Message-ID: <2768@cbnewsj.ATT.COM> Date: 11 Dec 89 14:13:48 GMT References: <9235@hoptoad.uucp> Reply-To: mec@cbnewsj.ATT.COM (michael.e.connick,mt,) Organization: AT&T Bell Laboratories Lines: 19 In article <9235@hoptoad.uucp> tim@hoptoad.UUCP (Tim Maroney) writes: > It's ordinarily memFullErr, "Not enough room in heap zone". Since no > heap zones are involved, we have to assume that the MF creators decided > to get creative and use this existing error code to mean that there's > not a big enough chunk of application memory to launch it. > > Sure enough, I just launched MPW, made sure there wasn't enough space > to launch ResEdit, put a breakpoint on Launch, tried to launch RsEdit > from the MPW Shell, and Launch returned with a -108 (0xffffff94). 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! ----------------------------------------------------- Michael Connick mec@mtfmi.ATT.COM 201-957-3057 AT&T Bell Labs MT 3F-113 (Dept. 79153)