Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Controle de usuarios e licenças de uso
Message
From
04/05/2003 13:03:06
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
04/05/2003 11:11:20
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Miscellaneous
Thread ID:
00784672
Message ID:
00784690
Views:
20
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)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform