multiple instances of standalone under Windows

Chipp Walters chipp at chipp.com
Thu Jan 29 18:01:06 EST 2004


What about just looking for your app in the openProcesses list called from
the freeware command line utility:

http://www.sysinternals.com/ntw2k/freeware/pslist.shtml

If your app is there, then shut yourself down.

Seems easy enough, unless I'm missing something.

-Chipp


> -----Original Message-----
> From: use-revolution-bounces at lists.runrev.com
> [mailto:use-revolution-bounces at lists.runrev.com]On Behalf Of Trevor
> DeVore
> Sent: Thursday, January 29, 2004 4:04 PM
> To: How to use Revolution
> Subject: Re: multiple instances of standalone under Windows
>
>
> On Jan 29, 2004, at 2:26 PM, Richard Gaskin wrote:
>
> > Trevor DeVore wrote:
> >
> >> On Jan 29, 2004, at 2:08 PM, Richard Gaskin wrote:
> >>>
> >>> Polling a directory for a file, while suboptimal, is pretty fast and
> >>> would
> >>> seem to get the job done, no?
> >>
> >> Could you run into problems if your app crashed and wasn't able to
> >> clean up after itself?  The next time your app launched the file would
> >> still be there and your app would shut itself down.
> >
> > I had thathappen with a CGI.  I changed it so the file contains a
> > timestamp;
> > if more than 10 seconds old it deletes it and moves on.
> >
> > With desktop apps its more complicated, since the length of a session
> > is
> > less predictable.
> >
> > Could a local UDP or TCP call be used for that instead?
>
> It seems like this would be the best method available right now.
>
>
> --
> Trevor DeVore
> Blue Mango Multimedia
> trevor at mangomultimedia.com
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>




More information about the use-livecode mailing list