Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!clyde!rutgers!husc6!uwvax!uwmacc!rick From: rick@uwmacc.UUCP Newsgroups: comp.sys.mac Subject: Re: ??: Launching other application fr Message-ID: <1478@uwmacc.UUCP> Date: Tue, 5-May-87 18:09:20 EDT Article-I.D.: uwmacc.1478 Posted: Tue May 5 18:09:20 1987 Date-Received: Thu, 7-May-87 04:09:08 EDT References: <216800018@orstcs2> Reply-To: rick@unix.macc.wisc.edu.UUCP (Rick Keir) Organization: UW-Madison Academic Computer Center Lines: 18 In article <216800018@orstcs2> naresh@orstcs2.cs.ORST.EDU writes: > >Can somebody tell me , how can I launch a new application from a application? >I am using LightSpeed Pascal. My program does not require old application to >be resident in memory. >I know that there is a launch procedure but it can only be used in assembly >lang. One of the LS Pascal example programs (I think this is in the editor example, but don't have a copy of it handy) showed how to do this. I tried putting the code into a Turbo Pascal program that I wanted to add a transfer to, and it worked fine. You use about 10 lines of setup that puts the appropriate data on the stack by passing it to a dummy subroutine, and a subroutine that consists of an inline statement. -- Rick Keir -- one floor up from the Oyster Tank -- UWisc - Madison {allegra, ihnp4, seismo}!uwvax!uwmacc!rick