Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Detecting another instance..
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00621200
Message ID:
00621255
Vues:
19
>I know this has probably been discussed many times before...but...how does one detect if the application is running already? I'm looking to do this under VFP 6.0. But if there is code for 7.0 that would be great too.
>
>Thanks,
>John G.

See File#9807
Implementation of the Win32 Event object October 1, 2000 23:27
This is the initial release of a class that implements the Event object used for cross-process or cross-thread synchronization by waiting until the object is signalled. This includes CLSEVENT.PRG, the class implementation, and a short demonstration of how it can be used to implement single-instance apps (or forms, by extension.) All VFP source is included; the class uses VFP code and a number of simple API functions through the DECLARE...DLL command,
(Thanks to Ed Rauh)
Zlatin Zlatev,
MCSD (VS6)

Make solutions, not programs!

Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform