Visual C++ , I have .exe and I want to get source code?

M

Michael Dekson

Is that possibly.
Microsoft Visual C++ V6.0
The exe file is made in the same tool.
 
N

Nils Petter Vaskinn

Is that possibly.
Microsoft Visual C++ V6.0
The exe file is made in the same tool.

No. Information is lost when you compile your program using any normal
compiler (a compiler could theoretically include the complete source in
the executable if it felt like it, but none do that I know of)

What you can get (in theory) is something that when compiled will produce
an executable that does the same thing as the original executable. (the
two may even be identical)

That won't help you though, I have seen such code (from gcc compiled
executable) from very simple example programs (like "Hello world" or
"print 1 to 10") and it isn't pretty and doesn't resemble the original
program much. (and I expect it had been even worse if gcc had used
optimizations when compiling)

This is a faq! You did read the faq before asking didn't you? Well you
probably missed this:

http://www.parashift.com/c++-faq-lite/compiler-dependencies.html#faq-37.4
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,164
Messages
2,570,901
Members
47,439
Latest member
elif2sghost

Latest Threads

Top