>Is there a way of "copyrighting" a standalone?
>
>I was thinking of inserting an "if the short date is x then quit" line
>so that, after a trial period, the stack/standalone would no longer
>start up. Are there other/better/politer ways of controlling access?
>
>Thank you.
>
>--
>Nicolas R Cueto
>Takakura JHS/SHS
>Nagoya, Japan
>
If you want them to not be able to use the program after a certain date
then each time the program launches have it write the current date to a file,
that will allow you to check when the program was last used.. If you then get
the current date, and if the current date is before the date the program was
last accessed then you know they have set back the date!
Also, you should hide the file really well. Like put it into windows (on PC).
That way they dont find it and delete it. Also put the contents of the file
into a global before writing the current date to it.
____________________________________________________________________
Get free email and a permanent address at http://www.netaddress.com/?N=1