Re: Suspending a program in Win32Lib.

new topic     » goto parent     » topic index » view thread      » older message » newer message

----- 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/

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu