Solved

Decomplier

Posted on 2002-06-20
11
8,660 Views
Last Modified: 2012-05-04
I have a program which I made in Delphi during High School.  I've since lost the source so I'm wondering, is there a way I can decompile the .exe and make it a delphi file again?..  or is that impossible?

thanks for your help.
0
Comment
Question by:BaSoAM
  • 3
  • 3
  • 2
  • +2
11 Comments
 
LVL 22

Expert Comment

by:Mohammed Nasman
ID: 7095240
in short, I think it's impossible :)
0
 
LVL 12

Accepted Solution

by:
Lee_Nover earned 50 total points
ID: 7095485
it's impossible because of delphi optimization
you probably set it on when you compiled the project
even if you had included all the info such as TDBG32 you still couldn't get the code
the closest you can get to sources is with DeDe (Delphi Decompiler)
it can extract .dfm files (it's a resource so no problem there)
about the code you only get ASM
but it's greatly commented :)
0
 

Author Comment

by:BaSoAM
ID: 7095672
Yeah, I can understand that.  What would DeDe offer me? and where can I get it?...

.dfm files but no source code?...
0
Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

 
LVL 12

Expert Comment

by:Lee_Nover
ID: 7095705
just do a search on google for DeDe - Delphi Decompiler

it can also extract the resources
but you can't get the sources ofcourse
only ASM code in funtions
the function names and the declarations are there
and quite a few coments on strings and such

it's the most you can get out of your delphi app
0
 
LVL 22

Expert Comment

by:Mohammed Nasman
ID: 7096311
I tried PE explorer and Resouce hacker, both writtin in Delphi, and code show you the forms and other resouces1

http://www.heaventools.com
http://www.users.on.net/johnson/resourcehacker
0
 
LVL 1

Expert Comment

by:barbourwill
ID: 7097441
I think ive heard of a delphi decompiler that is "supposed" to produce a dpr from a delphi made PE executable.  ive no idea if it actually works, but it maybe worth a try

will
0
 
LVL 1

Expert Comment

by:barbourwill
ID: 7097452
I have now just tried it, it does not recover much code, but the forms come out ok.


0
 
LVL 1

Expert Comment

by:martin_g
ID: 7097730
You can download DeDe at: http://www.balbaro.com/dede/index.html
Another program that does about the same thing is Delphi Peeper at: http://www.devrace.com/eng/dap/index.php

0
 

Author Comment

by:BaSoAM
ID: 7097852
thanks all for that...  I think Lee Nover got the 50pts for telling me about DeDe?... anyone disagree?
0
 
LVL 12

Expert Comment

by:Lee_Nover
ID: 7097866
I don't :)
0
 
LVL 22

Expert Comment

by:Mohammed Nasman
ID: 7098422
Congratulate for points Lee Nover ;)
0

Featured Post

ScreenConnect 6.0 Free Trial

Want empowering updates? You're in the right place! Discover new features in ScreenConnect 6.0, based on partner feedback, to keep you business operating smoothly and optimally (the way it should be). Explore all of the extras and enhancements for yourself!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
oracle global variables 4 69
Multiple image collision 13 75
Twebbrowser add css to the header 3 25
Firemonkey BASS_Init into a thread 17 9
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
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…

803 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