Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to license software?
Message
De
29/07/2002 15:22:03
Henry Ravichander
RC Management Systems Inc.
Saskatchewan, Canada
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00683104
Message ID:
00683659
Vues:
25
Hi Randy:

Thank you for your response. Nice idea. Some questions though.

>I created one .EXE that is the same for all users. The .EXE opens a small table (.DBF) file that has been renamed APP.KEY. FoxPro tables don't have to be called *.DBF - you can open a renamed .DBF like this: USE app.key IN 0 ALIAS whatever ...

Does the .exe file launch your main application? OK< I can create a new table - to hold key information such as NumOfUsers, clientNum etc? And then rename it as e.g. App.Key? Would that be using the save as command?


>Inside the keyfile are several records that are used to set application-wide variables, including the user's name, etc. The app.key file also contains a field that has the checksum of the first field. That way if a more advanced user has figured out that they can open the keyfile and alter it's contents, the checksum will be incorrect, and the program will refuse to continue.
>
What does checksum do here - I am a bit confused here.

Thanks again for your valuable insight. The idea is appealing.

- Ravi
- Ravi

True greatness consists in being great in little things.
- Charles Simmons
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform