Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Disabling a multiple instances at load time
Message
De
16/05/2002 12:26:12
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Disabling a multiple instances at load time
Divers
Thread ID:
00657565
Message ID:
00657565
Vues:
60
I have a vfp 7 application which allows to run multiple instances
by clicking the application icon many times.

Starting a second instance is allowed only after first
instance of my application is fully loaded.

Unfortunately, some users click my application icon rapidly.
How to check that another instance of my application is currently loading
and exit second instance in this case ?

I need to set some flag (mutex ?) at startup and clear this flag after
application is fully loaded.

At startup, second instance must check this flag and terminate if another instance loading is in process. How to implement this ?
Andrus
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform