Posted on 1998-09-01
Last Modified: 2011-04-14
how can I change a exe file, that was once a C++ file back into its original code. Please email me back at I would greatly appriciate it. (The problem was that I erased a source file for a c++ file called Demo.exe. Now I need to convert the exe file back into a readable source file. How do I do that?)
Question by:CanisLupus
  • 5
  • 2

Author Comment

ID: 1171879
Edited text of question

Author Comment

ID: 1171880
Please hurry and help me please

Author Comment

ID: 1171881
Edited text of question
Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

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


Accepted Solution

Answers2000 earned 100 total points
ID: 1171882
Well the bad news is you can't really.

Just as well for M$, or else we'd be all producing our own versions of Windows.

You can convert exe's into assembler using sourcer or another disassembler tool.  Then if you know assembly language well, you can usually figure out roughly what the C++ was.

I know this isn't the answer you want, but it's the truth.

However may I suggest you consider using UNDELETE or Norton utilities.  These tools can usually get back a file you've erased (provided you haven't done too much to your hard disk since then) as when a file is deleted from your HD the file is usually initially simply "marked as deleted" rather than actually being erased

Author Comment

ID: 1171883
how do I get a "sourcer or disassembler tool"?

Expert Comment

ID: 1171884
V Communications

Don't forget this will give you assembly language rather than C++.  It will be an uphill task to recreate the equivalent C++ from the assembly language version.

Author Comment

ID: 1171885
Thank you very much

Featured Post

Active Directory Webinar

We all know we need to protect and secure our privileges, but where to start? Join Experts Exchange and ManageEngine on Tuesday, April 11, 2017 10:00 AM PDT to learn how to track and secure privileged users in Active Directory.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
C++ get user from AD  (VS6) 7 86
Template syntax for variable length arrays 9 75
c++ syntax question 9 52
trigs fail! I thought I knew how to do trignometry 3 75
When writing generic code, using template meta-programming techniques, it is sometimes useful to know if a type is convertible to another type. A good example of when this might be is if you are writing diagnostic instrumentation for code to generat…
Often, when implementing a feature, you won't know how certain events should be handled at the point where they occur and you'd rather defer to the user of your function or class. For example, a XML parser will extract a tag from the source code, wh…
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.

829 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