Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.csd.uwm.edu!cs.utexas.edu!tut.cis.ohio-state.edu!pt.cs.cmu.edu!andrew.cmu.edu!dc4d+ From: dc4d+@andrew.cmu.edu (Darius Clynes) Newsgroups: comp.sys.mac.programmer Subject: Launching problem in Lightspeed C 3.0 Message-ID: Date: 19 Aug 89 20:29:05 GMT Organization: Psychology, Carnegie Mellon, Pittsburgh, PA Lines: 23 Under Finder the following works without any noticeable problems: myLaunch(progname) char *progname; /* the pascal string filename */ { _exiting(1); /* recommended in LSC 3.0 patch4 */ Launch(0,progname); /* old style launch w/ def. scrn/snd buf */ ExitToShell(); /* for safety in case of return or error */ } HOWEVER, under Multifinder (on a MacIIx with 5meg) strange things happen The first launch seems to work, but subsequent launches crash. On an SE with 2meg the first launch crashes also. Having used the Bruce Ballard method of sublaunching with a LaunchStruct (new method) I obtained the same problem result he did, using both xC0000000 and x00000000 as LaunchFlags... no launch at all, just bell, and bye. Ben Cranston's MPW version does not seem to apply easily to Lightspeed 3.0 patch 4 ?? Help please!!! -Darius Clynes dc4d@andrew.cmu.edu Tel (412) 268 3148 Carnegie Mellon Univ.