Solved

Trial Period

Posted on 2004-09-04
7
1,020 Views
Last Modified: 2010-04-05
Hey,

How in my Delphi Application could I embed a Trial Period so when it runs out the program will popup at start up saying "Trial Period Expired"? I want a program/component that is free for commerical use. I have already tried AV Lock, Software Key, Etc.

Iam using Delphi 7,

Cheers,

Jeremy
0
Comment
Question by:computerprogramer
7 Comments
 
LVL 22

Accepted Solution

by:
Ferruccio Accalai earned 300 total points
ID: 11979564
try TmregApp from this site
http://www.afsoftware.it/ENG/COMPONENTS.asp?LINGUA=1&TIPO=0  (the last one listed)
0
 
LVL 4

Expert Comment

by:Evarest
ID: 11979669
Or the excellent components from TPOnGuard

http://sourceforge.net/projects/tponguard/

For free...

Evarest
0
 
LVL 7

Expert Comment

by:DavidBirch2dotCom
ID: 11979683
There are problems associated with any way of time-trialing and anti-cracking.... You need to be REALY careful how you code this.... An excellent resource for this kind of problems

http://www.inner-smile.com/nocrack.phtml

Lots of similar information on this thread
http://www.experts-exchange.com/Programming/Programming_Languages/Q_21071015.html#11660670

A selection of info....

>you need to "obfuscate" or confuse the source code, replace all meaningful varible/procedure names with junk like var001 so that even if anyone were able to reverse your code, it would be still for him  too complicate to understand it. To find a code obfuscator try with google (found http://www.cocolsoft.com.au/cocolcloak/cocolcloak.htm but it's old)

www.chosenbytes.com

it hasn't been cracked for 4 years. If you try to run a debbuger it will stop it! I secure my app with their system i can't even run the program in the IDE it will immediatly stop. I can only compile the program and run it from windows explorer.

David
0
Active Directory Webinar

We all know we need to protect and secure our privileges, but where to start? Join Experts Exchange and ManageEngine on Tuesday, April 11, 2017 10:00 AM PDT to learn how to track and secure privileged users in Active Directory.

 
LVL 4

Expert Comment

by:Evarest
ID: 11979715
Quote DavidBirch2dotCom: "http://www.inner-smile.com/nocrack.phtml"

The most important you must get from this is that yóu need to decide what is more important: building a HUGE defence against crackers, or improving your code. Also asses whether it's worthwhile creating such protection for your program: is your program really so neat, good, unique?

Quote DavidBirch2dotCom: "www.chosenbytes.com

it hasn't been cracked for 4 years. If you try to run a debbuger it will stop it! I secure my app with their system i can't even run the program in the IDE it will immediatly stop. I can only compile the program and run it from windows explorer."

It may or may not have been cracked for ages, however, crackers need to find a program that's popular before they will even begin cracking it. Trust me, if some crackers start with your program, whether you take any fancy protection libary, they wíll crack it. Maybe your protection is safe, but another part of your program my not be safe.

Also, protection against debuggers, decompillers, disassemblers, etc. is never entirely 100%. These programs can always be altered in such a way they can run even with such protection in place. Also, there are other ways in finding the weak spots of protected programs...

Honestly speaking, I haven't ever tried such a code obfuscator... However, obfuscating your code is good if you don't have to review your code ever again. Especially if you're going to use yourself meaningless names for your procedures.

Another way of better protecting your code is using interfaces. These interfaces make it much harder for any cracker to decompile your code...

for more info see (where you can also find some info about buffer overruns):
http://www.experts-exchange.com/Programming/Programming_Languages/Delphi/Q_21079010.html

Evarest
0
 
LVL 7

Expert Comment

by:DavidBirch2dotCom
ID: 11979749
well thanks for destorying all my points ;-p) I was only trying to help ....

>Honestly speaking, I haven't ever tried such a code obfuscator... However, obfuscating your code is good if you don't have to >review your code ever again. Especially if you're going to use yourself meaningless names for your procedures.

well duh..... you save a copy of the code obfuscate that distribute that.... If you need to re-distribute then simple save another copy and obfuscate that .... no problems ! ;)

true, anything you do could eventualy be cracked ... even interfaces, which are quite hard to code, if they are not needed then again is it necessary ..... there are simpler ways of stopingcrackers

Quote Evarest

The most important you must get from this is that yóu need to decide what is more important: building a HUGE defence against crackers, or improving your code. Also asses whether it's worthwhile creating such protection for your program: is your program really so neat, good, unique?

true

David
0
 
LVL 4

Expert Comment

by:Evarest
ID: 11979799
Oh, David,

"well thanks for destorying all my points ;-p) I was only trying to help ...."

It wasn't my intention destroying any of your points... I just gave my idea about the whole protection concept... The whole idea behind Experts-exchange is to hand each-other a helping hand, isn't it?

"there are simpler ways of stopingcrackers"

and that's true, as i pointed in my first post and you stated in yours, you might consider a component suite (freeware of shareware, depending on your revenues) to easily give some adequate, but not fullproof protection for your creation...

Kind regards,
Evarest
0
 
LVL 5

Expert Comment

by:Voodooman
ID: 11980100
Hi

I wish somebody would just buy my software......

I have been selling software for 10 years and had some success - but I still have the day job.

Quote:

'you need to "obfuscate" or confuse the source code, replace all meaningful varible/procedure names with junk like var001 so that even if anyone were able to reverse your code, it would be still for him  too complicate to understand it. To find a code obfuscator try with google'

I really dont see the point in this unless you have written the ultimate app - in which case you probably sold it to Microsoft or IBM (someone who could actually afford to market the thing) and are living in luxury (France would be my choice).

Try http://atma-software.com - the 1Way product seems very good - what do I use - not telling....

Voodooman




0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

820 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question