Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Like GetUserName
Message
 
À
11/09/1998 10:01:52
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00135034
Message ID:
00135479
Vues:
27
>>>Dave
>>>
>>>SYS(0)?
>>>
>>>>I'm looking for an api call that will tell me who is currently using an application.
>>
>>i don't think so. i want to be able to tell programmatically (from any machine) if someone else is currently using this application.
>You may write to a table everytime a users comes in your app. Have a logical field on it to mark when this user closes the program. Add a function to your app where you can browse in this table for users with the flag set to false.
>A suggestion.
>Crescencio

we've thought of that, but have a problem with users [1] turning their machines off without exiting the program and [2] leaving their machines on all night with the program running.

we've solved [2] by adding a timer the the apps to close them after a set time of inactivity, but [1] would leave that flag on after they've quit the system.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform