Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
PUBLIC VAR's
Message
 
À
19/12/2000 11:13:38
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Titre:
Divers
Thread ID:
00455067
Message ID:
00455078
Vues:
27
>Hi All,
>
>In my MAIN PRG, I declared PUBLIC Variable that I release it at the end of my Application run. I use this variable to check if the application is already running.
>
>If I run the app twice, I don't find the public var. (I use the TYPE() function for that...), What Am I doing wrong ?
>
>Thanks,
>
>Gadi

Ed Rauh shows how to use the CreateEvent() API call to do this. See the API section for a description and code. There are a number of other ways, however, to accomplish this. Another API solution involves creating a mutex. You could also use DDE.
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