Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Detect multi-use on Terminal Services server
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01030883
Message ID:
01030967
Vues:
22
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?!
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform