Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!zaphod.mps.ohio-state.edu!mips!apple!motcsd!starnet!sschaem From: sschaem@starnet.uucp (Stephan Schaem) Newsgroups: comp.sys.amiga.programmer Subject: Re: Detaching from CLI but keeping paths? Message-ID: <1991May20.144139.10746@starnet.uucp> Date: 20 May 91 14:41:39 GMT References: <1991May20.054112.2645@monu0.cc.monash.edu.au> Organization: Starnet-Public Access UNIX-Los Altos,CA 415-949-3133, login:info Lines: 11 Right now I'm doing something that I dont like, but work. The autodetach code including the cli/WB startup initialize a startup structure in the second code section. I dont know how to pass parameter from CreatProc. Simply XREF YoursStartup from your autostart programe and create the structure in your main code. I'm saving parameters like Stacksize, Segment, Curentdir, CMDLine, WB message etc... Stephan.