Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Controle de usuarios e licenças de uso
Message
De
04/05/2003 13:03:06
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
04/05/2003 11:11:20
Information générale
Forum:
Visual FoxPro
Catégorie:
FoxPro 2.x
Divers
Thread ID:
00784672
Message ID:
00784690
Vues:
21
This message has been marked as a message which has helped to the initial question of the thread.
>Bom dia,,
>
>como vai Alex ?
>
>bem não me expliquei direito, ok, é que em meu sistema eu vendo por numero de licencas, entende ? então se coloco no sistema direito de uso 2 licencas o sistema não pode ser aberto 3 vezes ou seja ser executado em 3 maquinas diferentes, agora fui claro, e obrigado pela atenção...

Pode ter um arquivo, por exemplo, com 100 registros. Cada ussuario busca por um registro que não está bloqueado, e o bloquea:
#DEFINE MAX_USERS 10
go top
locate next MAX_USERS for rlock()
Se não pode bloquear um registro, é porque se pasó o máximo permitido.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform