Re: Detecting a running application - FAQ Change?

From: Bruce Roberts (ber_at_bounceitattcanada.xnet)
Date: 08/31/04


Date: Tue, 31 Aug 2004 12:05:01 -0400


"Maarten Wiltink" <maarten@kittensandcats.net> wrote in message
news:41345c2d$0$36860$e4fe514c@news.xs4all.nl...

> > Uppercase(ExtractFileName(Application.ExeName)+'_2nd_instance_lockout')
> > probably stands a better chance of being unique. Plus it's descriptive.
>
> No argument there. With that, is everybody okay with the new code?

Yes, although I'd prefer something as descriptive but shorter than
'_2nd_instance_lockout'. Perhaps something like 'Running'.

Note to the EvilMiniFAQBoss: Please, please, please can the example not use
C-style spacing as shown above. Its much more readable to have

    Uppercase (ExtractFileName (Application.ExeName) + '. . .

It also lets browsers wrap things more easily.



Relevant Pages

  • Re: Monty Hall and Graf/Seles
    ... Okay, that's it. ... > It is about the chances how a individual life will go. ... Let's assume your chance of dying from a ... in your figures to impress and intimidate those who can be intimidated by what ...
    (rec.sport.tennis)
  • Re: Alternative epic level system?
    ... You're dead. ... For non-epic games it's okay, but I'd expect to have a chance, ...
    (rec.games.frp.dnd)
  • Re: What we know and what we do not know.....
    ... Okay, here's your chance to be a star. ... the world is waiting for your wisdom to be put in readable prose. ... it might accompany your c.v. ...
    (rec.music.opera)
  • Re: Initialising Variables
    ... Okay, ... int func ... Where you *know* t does not have a chance of even being used before ...
    (comp.lang.c)
  • Re: got a Funhouse at a garage sale today!
    ... nice to hear I did okay. ... I got a chance to really check it ... out and all it needs is a cleaning, new rubbers, new target foam, a ...
    (rec.games.pinball)