Hello,

How can I include a trial mode.
I think:
Make a file $Windows\test.tim
Then getfiledate and if older as 30 days jmp

How can I make this with asm.

Thanks....
Posted on 2003-02-16 12:42:35 by Fred
Retrieving the windows directory: GetWindowsDirectory
Creating a file: CreateFile+CloseHandle
Retrieving a file's creation time: GetFileTime
Retrieving the system's time: GetSystemTime/GetLocalTime
Converting SYSTEMTIME to FILETIME: SystemTimeToFileTime

That should get you started. I can write the full code but have a go at it yourself first, it's the only way you'll learn. Btw this wouldn't be much of a protection scheme...

Thomas
Posted on 2003-02-16 13:36:28 by Thomas
Hello,

Thanks for your thread...

There are ready Trial Mode Makro or Proc for downloads???
With more security.
Posted on 2003-02-17 05:44:24 by Fred
Fred,

Get used to the idea that time limited test applications can be cracked very easily by inexperienced crackers. If you want to protect a program, you will need to learn a lot about what can be done and how its done.

Some of the guys here are very good at protection system design so if you ask questions in this area, you may get some very good technical advice.

Regards,

hutch@movsd.com
Posted on 2003-02-17 05:58:35 by hutch--
Hi,

maybe this is a bit out of topic but forget about 30 day trials, VBox and
all the other useless stuff.

IMHO there is usually no need to think about protection schemes if your application
is designed to load and save an own kind of files. Simply do not include the load
or save routines and you are ready.

Have a look at here for xCOMPOSER
demo which can not load its own stuff again. I will spend a full version and a
bottle of champagne to the first guy who makes the demo version loading
it's own binary files. :cool:

Bye Miracle
Posted on 2003-02-17 08:07:27 by miracle