Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Disabling a multiple instances at load time
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00657565
Message ID:
00657623
Views:
48
>Michael, Thank you.
>
>My aplication has a variable window caption.
>So I'm thinking about using SYS(5)+SYS(2003) as a mutex name.
>Unfortunately, code in this article seems to be incomplete: I don't have FoxPro advisor.
>
>Is the mutex released automatically by OS if C5 error occurs at my VFP
>application startup ?
>
>>Check this out. http://www.advisor.com/Articles.nsf/AID/TASKG05
>>I've used it without trouble in VFP6 no idea about VFP7. Guess only George himself can say.
>>
>>HTH
>>Mike

Andrus,

I haven't had any problem with it under 7.0 SP1.

The code in the article is as complete as I could make it given the formatting. Be sure, however, to include the properties shown in the class. Intentionally, the suggestion main program was simply an outline. If you have questions about anything, feel free to either post (preferable, since my home computer and ISP aren't getting along so well) or contact me directly.

As for releasing the mutex after a C5 error, that's problematical. I've seen instances both ways. Fortunately, however, for me, this is a rare occurence, and a simple re-boot, of course, resolves the situation if it exists. I can't, however, recall the last time one occurred.
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform