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
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
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…
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
Suggested Courses

777 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