943,816 Members | Top Members by Rank

Ad:
Mar 24th, 2009
0

Uncompile?

Expand Post »
I had a hard drive crash and stupid me haven't made backups for at least a year. I had several projects for which I used Delphi 5 and have lost all the code. Is there any way of getting the code back by un compiling the exe file?
Reputation Points: 10
Solved Threads: 0
Newbie Poster
fromb is offline Offline
1 posts
since Mar 2009
Mar 25th, 2009
0

Re: Uncompile?

The compiler reads and translates the code you write. All names etc are dropped so if there is a way to read the compiled code and identify the logic, it would still not have any names or other clues to what was what.
Reputation Points: 11
Solved Threads: 11
Junior Poster in Training
jsosnowski is offline Offline
68 posts
since Nov 2007
Mar 25th, 2009
0

Re: Uncompile?

Alas, you have little to look forward to. Unless you must decompile or reverse-engineer, you are typically better-off just rewriting the thing.

If undaunted, check out this About.com article about decompiling Delphi code.

Good luck.
Featured Poster
Reputation Points: 1140
Solved Threads: 229
Postaholic
Duoas is offline Offline
2,039 posts
since Oct 2007
Mar 25th, 2009
0

Re: Uncompile?

your hard drive is working,that crashed?If yes and you have another hard drive then your problem is not hopeless....
If the above conditions are true then search in the Google for
Get Data Back.This little program will revive your data from a formatted hard drive....
Reputation Points: 132
Solved Threads: 138
Posting Pro
FlamingClaw is offline Offline
559 posts
since Feb 2009
Jul 11th, 2009
0

Re: Uncompile?

http://www.downloadsource.net/2607/DeDe/

Description DeDe 3.50.04.1635:
DeDe is a very fast program that can analyze executables compiled with Delphi 2,3,4,5,6 Builder,Kylix and Kol. Application allows you to very fast generation of DFm files which can be edited in Delphi.
Last edited by FlamingClaw; Jul 11th, 2009 at 3:02 am.
Reputation Points: 132
Solved Threads: 138
Posting Pro
FlamingClaw is offline Offline
559 posts
since Feb 2009
Jul 11th, 2009
0

Re: Uncompile?

The .DFM file is linked into the executable as an RCDATA resource, which is just a compressed text version of the .DFM file (a few versions of Delphi save the DFM in compressed format, but most do plain text).

The Classes unit is all about loading and saving DFM data.
Featured Poster
Reputation Points: 1140
Solved Threads: 229
Postaholic
Duoas is offline Offline
2,039 posts
since Oct 2007

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Pascal and Delphi Forum Timeline: Delphi character encoding
Next Thread in Pascal and Delphi Forum Timeline: Could you tell me what is (are) wrong of my program?





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC