Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ER - only allow the app to run once
Message
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00688594
Message ID:
00689089
Views:
53
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform