Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Determine # of times that VFP .exe is running on a PC
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00779412
Message ID:
00779413
Vues:
13
>Is it possible to determine whether a VFP 7 .exe is running more than once on a PC running either W98, ME, 2000 or XP?
>Here is my scenario:
>I don't think I can use a semaphore file without a lot of work because most forms, etc are closing all tables upon release.
>Also, creating a file when the app starts and then deleting it upon exit can result in support calls if the app doesn't terminate gracefully.
>
>TIA.

Hi Alan,

Check Implementation of the Win32 Event object File #9807. It shows how to use windows Event object to implement single-instance app. Here's another one Re: Only open application once Message #585856. It uses windows Mutex.
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform