DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Adri Ferdian Guest

    how to decode *.exe file


    can we decode *.exe file to *.cpp or *.c (source code) file with C++??
    how???

  2. #2
    jonnin Guest

    Re: how to decode *.exe file


    No, all you can do is convert it to virtually unreadable asm code. Its almost
    as easy to use a hex editor on the thing to modify it...


    "Adri Ferdian" <adri_ferdian@anixtreme.com> wrote:
    >
    >can we decode *.exe file to *.cpp or *.c (source code) file with C++??
    >how???



  3. #3
    Chris Pointon Guest

    Re: how to decode *.exe file


    >can we decode *.exe file to *.cpp or *.c (source code) file with C++??
    >how???


    You can't get back to the C++ code - all the information about classes, variables,
    filenames etc. is lost when they're compiled & linked. If you want to find
    out what's inside a Win32 EXE file (the official name for the file format
    is "Portable Executable (PE) File"), have a look at this article:

    http://www.eccentrica.org/Mammon/Text/pefile.html

    Also, a guy called Matt Pietrek from NuMega did a bunch of articles back
    in 1996 or so explaining various parts of how exes and dlls interact with
    the OS. Search for his name on MSDN to get their archives.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links