Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
PUBLIC VAR's
Message
 
To
19/12/2000 11:13:38
Gad Hutt
Express Print
Herzliya, Israel
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Title:
Miscellaneous
Thread ID:
00455067
Message ID:
00455078
Views:
26
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform