Looking For Suggestions
andu
undo at cloud9.net
Tue Sep 17 23:26:00 EDT 2002
--On Tuesday, September 17, 2002 16:36:09 -0700 Scott Rossi
<scott at tactilemedia.com> wrote:
> I've got a standalone that needs to run on Windows as a single instance
> (no multiple instances of the same app). I'm looking for suggestions on
> how to prevent duplicate launches of the same app (the app may also be
> installed in more than one location on the same machine).
>
> I'm familiar with the open apps function of the EXT DLL, but I'm trying to
> avoid use of this since it makes my apps unstable. I've also toyed with
> the idea of writing an "app busy" message to the registry or a temp file
> on the drive, but I can't figure out how to determine if the app that
> created the message is running
I find it hard to believe that windows doesn't keep a list of all running
processes like NIX does that your app could check before opening.
I did a quick look and found "taskmgr.exe", see if you can do something
with that.
>
> As far as I know, MC has no built-in way to get a list of open processes
> other than those it has already launched.
>
> Searching the Web, I came across this document -- might there be some way
> to use the code here via the shell or shell("start"...) function?
>
> http://www.mvps.org/access/api/api0007.htm
>
> Thanks for any suggestions.
>
> Regards,
>
> Scott Rossi
> Creative Director
> Tactile Media, Multimedia & Design
> -----
> E: scott at tactilemedia.com
> W: http://www.tactilemedia.com
>
> _______________________________________________
> metacard mailing list
> metacard at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/metacard
>
Regards, Andu Novac
More information about the metacard
mailing list