Greetings,

>
> I have an application which is not reentrant that is only a
> single instance thereof should run at once. Is it possible to
> detect whether there is already an other instance running and
> passing it focus?
>

Well unsure about passing the focus, but on the checking for existance,
when the app starts create a running.dat file in the default dir. Then
just check for it upon startup then perform the desired action. The
downside to this is if the app dies you may have trouble relauching the
app.

Hope this helps.




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
vtcl-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/vtcl-user

Reply via email to