Re: Suspending a program in Win32Lib.
- Posted by "William Heimbigner" <icxcnika at hotpop.com> Sep 16, 2004
- 458 views
----- Original Message ----- From: "cklester" <guest at RapidEuphoria.com> To: <EUforum at topica.com> Sent: Thursday, September 16, 2004 11:27 AM Subject: Re: Suspending a program in Win32Lib. > > > posted by: cklester <cklester at yahoo.com> > > William Heimbigner wrote: > > > > button_onClick(int self, int event, seq params) > > Execute_Some_Program() > > while program_is_still_running do > > doEvents(0) > > end while > > restart(0) > > end procedure > > > > Any ideas on how to do 'program_is_still_running' using ShellExecute and ShellExecuteEx > > calls? > > Use a flag file. > > while flagFileExists do > doEvents(0) > end while > That would work, if the second program was open source. It isn't. > -=ck > "Programming in a state of EUPHORIA." > http://www.cklester.com/euphoria/