Link to home
Start Free TrialLog in
Avatar of dooley090698
dooley090698

asked on

Demo Counter

First - using Borland 5.2 & OWL
I would like to allow useage of a program for a specified number of (uses , days) unless it's registered.
How could one go about programming this in? I've heard REGISTRY entries work but using OWL am leary about playing around in the registry in case I screw it up..is this in fact a real danger??
Help or suggestions would be appreciated (alos pseu code or snippet if possible).
Txs
Avatar of KangaRoo
KangaRoo

That is a danger off course...
Registry data is stored in the files system.dat and user.dat in the windows directory. Windows it self maintains backup copies of these files, system.da0 and user.da0
The backup files are updates if windows boots successfully. It may be worthwhile to keep your own backup copies, since not every fault in the registry will cause windows not to boot.

You can, in the event of a screw-up, restore the backups.
Avatar of dooley090698

ASKER

I understand the dangers of the registry and was looking for some way of (even using the registry) to count the number of times (or days).
Could you give me some ideas on how to implement this..
ASKER CERTIFIED SOLUTION
Avatar of alexo
alexo
Flag of Antarctica image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thank you VERY much - that explains a LOT and clears up some of my confusion.
Great to have access to this knowledge base.
Once again thanks for the help
Any time!