Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Determining if an Application is already open.
Message
From
23/07/2001 16:03:30
 
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00534053
Message ID:
00534061
Views:
12
Hallo Sergey
I doing this in may main Apps

declare Integer CreateMutex in win32api integer, integer, string
declare Integer GetLastError in win32api
CreateMutex(0, 0, "MutexTest")
if GetLastError()=183
if messagebox("Programm still running on this maschine,";
+chr(13)+chr(10);
+"do you want to restart ?",276 ")=6 && Yes
else
return
endif
endif

Regards from Germany
Winfried
Previous
Reply
Map
View

Click here to load this message in the networking platform