Path: utzoo!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!news.cs.indiana.edu!ariel.unm.edu!pprg.unm.edu!topgun!mustang!nntp-server.caltech.edu!toddpw From: toddpw@nntp-server.caltech.edu (Todd P. Whitesel) Newsgroups: comp.sys.apple2 Subject: Re: Orca/C Bug? Message-ID: <1991Mar8.141848.14257@nntp-server.caltech.edu> Date: 8 Mar 91 14:18:48 GMT References: <9103081247.AA24460@apple.com> <27D78C4E.9734@ics.uci.edu> Organization: California Institute of Technology, Pasadena Lines: 24 jimmys@bonnie.ics.uci.edu (Jimmy Shaw) writes: >Subject: Launching a Sys16 application from a Orca/C Program > I have tried using > System("1/system/Finder"); > But to my dismay, it works well under the shell, as an EXE file, but That's because the shell must be present for functions like system() to work, since the system() function is intended for a controlling shell. One of the few major deficiences of GS/OS is that there still isn't a memory resident CLI that supports the basic O/S functions (locating and launching files). Shell programs are relied on for this, and the O/S provides lots of neat support for shells, but Orca doesn't use much of it. To get to the point, though: you'll need the Prodos 16 reference OR the GS/OS reference vol. 1 (preferably the latter since you ought to have it anyway if you're serious about programming the GS). They explain the System Loader toolset, which is used to load other programs. I'm sorry I don't have any code examples for you, Jonah Stich might if you ask nicely. Todd Whitesel toddpw @ tybalt.caltech.edu