Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Detect multi-use on Terminal Services server
Message
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01030883
Message ID:
01030967
Views:
23
This message has been marked as a message which has helped to the initial question of the thread.
Also, here's a script that's easily converted to VFP that keeps a single user from running multiple instances of an application. With just a little modification, such as taking out the check for the user and adding a counter to count the number of instances of the app that are running I believe it would do the job quite nicely. Just another possible way to do this, I'm sure you're record locking scheme will work fine though.

>Hi Craig,
>
>> Without the use of a third-party piracy product such as Armadillo, the record locking is a fairly sound approach (sort of a record mutex/semaphore) and has been used in more than a few VFP applications.
>
>Thanks for your feedback. My thought is that this approach a "good enough" solution without the complexity of introducing Armadillo into the equation.
>
>For those following this thread, I believe (???) one can tell if an application is running under Terminal Services via bitand( val(os(10)), 16 ).
>
>Malcolm
>
>PS: I thought you were going to get some sleep one of these days?!
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform