Path: utzoo!news-server.csri.toronto.edu!cs.utexas.edu!ut-emx!ccwf.cc.utexas.edu From: daveh@ccwf.cc.utexas.edu (David H. Huang) Newsgroups: comp.sys.apple2 Subject: Re: Orca/C Bug? Message-ID: <45339@ut-emx.uucp> Date: 8 Mar 91 16:59:56 GMT References: <9103081247.AA24460@apple.com> <27D78C4E.9734@ics.uci.edu> Sender: news@ut-emx.uucp Reply-To: daveh@ccwf.cc.utexas.edu (David H. Huang) Organization: The University of Texas at Austin Lines: 20 In article <27D78C4E.9734@ics.uci.edu> jimmys@ics.uci.edu (Jimmy Shaw) writes: >Subject: Launching a Sys16 application from a Orca/C Program > I would be eternally (well, maybe not THAT long :) ) greatful if >someone could provide me with the EXACT code for launching a SYS16 program >from Orca/C. I don't know how to do it from Orca/C, but the procedure should be very similar to doing it from assembly, since it's just a GS/OS call. Use the QuitGS call with a pcount of 1 and a pointer to the GS/OS class 1 pathname of the application you want to launch. GS/OS class 1 pathnames have a length word in front of them instead of a length byte... Hope this helps! -- David Huang | Internet: daveh@ccwf.cc.utexas.edu | "Slight accidents with funny rays UUCP: ...!ut-emx!ccwf.cc.utexas.edu!daveh | can have serious consequences" America Online: DrWho29 |