Solved

Decomplier

Posted on 2002-06-20
11
8,662 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
[X]
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
  • 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
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!

 
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

Independent Software Vendors: 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

Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
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…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

726 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