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
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!


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

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
SetCurrentDirectory path limit 7 145
C++ Language error 28 281
best sources to up-to-date in C++? 8 104
How to convert Structure to vector of byte and vice versa 5 31
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…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

696 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