How can I protect my Delphi app?

Posted on 2010-01-12
Medium Priority
Last Modified: 2013-11-23

How can I protect my Delphi app from reverse engineering? Are there any solutions for this like the ones for .NET, such as Dotfuscator from preemptive.com?

Question by:everactive
LVL 12

Assisted Solution

Hypo earned 200 total points
ID: 26301737
This issue tend to come up from time to time... For information of how to protect your software, have a look at this site: http://delphi.about.com/od/objectpascalide/a/aa012803a.htm

It contains some usefull links and alot of good information...

LVL 22

Assisted Solution

8080_Diver earned 600 total points
ID: 26302833
I use a product called Shrinker.  It does several things for you, some of which are very useful as "obfuscation."
  1. It compresses the executable (which can be either an exe or a dll) with approximately the compression efficiency of Zip;
  2. This also, effectively, encrypts the compressed file;
  3. The compressed file takes up less disc space but decompresses into memory (without ever decompressing to disc);
  4. The compressed file, therefore, has less data transfer costs either to/from the disc or over the network (e.g. if the file compresses to 70% of its size then you will be reading 30% less data from disc and transferring 30% less data across the network).
Although there is a slight increase in the load time of a very small application on a local drive, there is a beak even point in that cost (which is usually smaller than the size of a worthwhile application in the business world ;-).  If you are loading from a network drive, there is usually a better perceived performance in the load because you gain that data transfer efficiency over the network.
I think Shrinker is still available . . . I am going to be checking soon because I want to see if there are any updates. ;-)

Accepted Solution

VSF earned 1200 total points
ID: 26325224
The bottom for the question line is: there is no way you can decompile a delphi win32 .exe program!  The programs available for this task can only get the delphi form .dfm back from an .exe but no usable delphi unit or code .pas is generated!

searching the web you can find some good .exe protections and scramblers such as

we use hardlock solutions to protect our applications and as a workaround for rental issues. I've published an article (brazilian portuguese) showing how to work with hardlock at

Featured Post

Become an Android App Developer

Ready to kick start your career in 2018? Learn how to build an Android app in January’s Course of the Month and open the door to new opportunities.

Question has a verified solution.

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

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
Enter Foreign and Special Characters Enter characters you can't find on a keyboard using its ASCII code ... and learn how to make a handy reference for yourself using Excel ~ Use these codes in any Windows application! ... whether it is a Micr…
There may be issues when you are trying to access Outlook or send & receive emails or due to Outlook crash which leads to corrupt or damaged PST file. To eliminate the corruption from your PST file, you need to repair the corrupt Outlook PST file. U…
Suggested Courses

615 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