Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!uunet!hoptoad!tim From: tim@hoptoad.uucp (Tim Maroney) Newsgroups: comp.sys.mac.programmer Subject: Re: SubLaunch return codes Message-ID: <9235@hoptoad.uucp> Date: 9 Dec 89 06:21:57 GMT References: <2618@cbnewsj.ATT.COM> Reply-To: tim@hoptoad.UUCP (Tim Maroney) Organization: Eclectic Software, San Francisco Lines: 21 In article <2618@cbnewsj.ATT.COM> mec@cbnewsj.ATT.COM (michael.e.connick,mt,) writes: >Are the return codes for the SubLaunch trap documented anywhere? The >VERY early release of the MultiFinder developers kit I got from APDA >doesn't provide this information. Does the latest version? > >In particular I'm interested in finding out what a -108 return code >means. 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). -- Tim Maroney, Mac Software Consultant, sun!hoptoad!tim, tim@toad.com This message does represent the views of Eclectic Software.