Solved

Trial Period

Posted on 2004-09-04
7
1,017 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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
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…
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …

910 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now