Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Determine # of times that VFP .exe is running on a PC
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00779412
Message ID:
00779413
Views:
14
>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--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform