Decomplier

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.
BaSoAMAsked:
Who is Participating?
 
Lee_NoverConnect With a Mentor Commented:
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
 
Mohammed NasmanSoftware DeveloperCommented:
in short, I think it's impossible :)
0
 
BaSoAMAuthor Commented:
Yeah, I can understand that.  What would DeDe offer me? and where can I get it?...

.dfm files but no source code?...
0
Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
Lee_NoverCommented:
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
 
Mohammed NasmanSoftware DeveloperCommented:
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
 
barbourwillCommented:
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
 
barbourwillCommented:
I have now just tried it, it does not recover much code, but the forms come out ok.


0
 
martin_gCommented:
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
 
BaSoAMAuthor Commented:
thanks all for that...  I think Lee Nover got the 50pts for telling me about DeDe?... anyone disagree?
0
 
Lee_NoverCommented:
I don't :)
0
 
Mohammed NasmanSoftware DeveloperCommented:
Congratulate for points Lee Nover ;)
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.