Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ER - only allow the app to run once
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00688594
Message ID:
00689089
Vues:
55
>Kevin, Paul,
>
>please have a look at message #688944 for an alternative to what we have figured out so far.
>
>Regards,
>Armin

I like both approaches (CreateEvent and CreateMutex) more than creating a dummy window because I think there is less of a chance for any unexpected behavior from the "hidden" window (since it will show up in the forms collection). However, both of them suffer from the same limitation of not being able to identify the running apps current window name. If you change the title of your app, FindWin won't find it anymore. The CreateMutex approach assumes the window name won't change. So, I think I'd stay with the current set of code we've got (unless you see another way around this). BTW - get some sleep ;-)
-Paul

RCS Solutions, Inc.
Blog
Twitter
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform