Thread: help with exe files

  1. #1
    Registered User
    Join Date
    Oct 2001

    Unhappy help with exe files

    Is there a way i can open up an .exe file and see the code that generated it???????

    the program i want to open up was written with C++
    some type of disassembler or something.

    #include <iostream.h>
    void main(void){
    char t[7] = "Thanks";

    cout<< t <<endl;

  2. #2
    l'Anziano DavidP's Avatar
    Join Date
    Aug 2001
    Plano, Texas, United States
    go to:

    It has a list of several decompilers. You can also look at any programs assembly code using a debugger, but good luck understanding it.

    Out of all the stuff on that list, I suggest SoftIce. It looks the best, but it cost money. I found myself a copy of it on the net, but I had no use for it, so I stuck it on a CD to get it off the HD.
    My Website

    "Circular logic is good because it is."

  3. #3
    Registered User
    Join Date
    Aug 2001
    You should probably be aware that it's often illegal to simply decompile programs, especially commercial ones. That's usually stated in the license agreement. I suppose no one would know and no harm done if you're just looking at it, but if you were to use any of it, or arguably base your code on it, you could be in for criminal and/or civil penalties if caught.
    Open Source licensing would probably let you decompile, but then you ought to be able to get the code anyway.
    I'm not a lawyer, but if you used the code, even though it didn't specifically say it was copyrighted, you could be in for at least civil trouble, although you probably can't get in trouble for just decompiling in that case.
    Check to be sure you're allowed to decompile first!

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. fopen vs. _open (for BIG image files)
    By reversaflex in forum C Programming
    Replies: 3
    Last Post: 04-01-2007, 12:52 AM
  2. Large exe files for small amounts of code problem
    By rainmanddw in forum C++ Programming
    Replies: 4
    Last Post: 11-03-2003, 05:52 PM
  3. I Need To Know Some Things That I Can Put Into A Batch File
    By TheRealNapster in forum A Brief History of
    Replies: 1
    Last Post: 10-20-2003, 08:12 PM
  4. How to link bpl files into exe?
    By Unregistered in forum C++ Programming
    Replies: 0
    Last Post: 06-22-2002, 10:38 AM
  5. EXE files...
    By Brian in forum C Programming
    Replies: 7
    Last Post: 02-19-2002, 12:42 AM