Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is the application already running
Message
 
À
09/10/2002 04:24:09
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00709151
Message ID:
00709185
Vues:
30
>I need to figure out if my application is already running and display message to the user.
>
>How can this be acheived?
>
>TIA
>
Munish,

While I must admit that my friend Ed's solution is probably the easiest and most reliable to implement, still there was my article that appeared in FoxPro Advisor back in the November, 1997 issue. You can read it on-line at http://www.advisor.com/doc/05263.

I'd also caution against using any solution that relies on simply the known portion of the title bar text, such as my Is_Run()/Is_Run32() functions. There is the potential for such functions to return inaccurate results. Therefore, I'd recommend either's Ed's event based solution or my mutex based one.
George

Ubi caritas et amor, deus ibi est
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform