Thread: how to get source from exe file

  1. #1
    Registered User
    Join Date
    Aug 2003
    Posts
    6

    how to get source from exe file

    i have an exe file which was created using c code. can anyone tell me how i can get the code...

    thanks in advance

  2. #2
    Just Lurking Dave_Sinkula's Avatar
    Join Date
    Oct 2002
    Posts
    5,005
    7. It is easier to write an incorrect program than understand a correct one.
    40. There are two ways to write error-free programs; only the third one works.*

  3. #3
    Been here, done that.
    Join Date
    May 2003
    Posts
    1,164

    Re: how to get source from exe file

    Originally posted by Ashkan
    i have an exe file which was created using c code. can anyone tell me how i can get the code...

    thanks in advance
    Can't. That's like trying to extract the flour from a cake. One it's a cake, it's no longer flour.
    Definition: Politics -- Latin, from
    poly meaning many and
    tics meaning blood sucking parasites
    -- Tom Smothers

  4. #4
    still a n00b Jaguar's Avatar
    Join Date
    Jun 2002
    Posts
    187

    Re: Re: how to get source from exe file

    >>That's like trying to extract the flour from a cake. One it's a cake, it's no longer flour.
    Good quote, best MOTD, helpful and it's TRUE. It should be put in ``/usr/share/games/fortunes''.
    slackware 10.0; kernel 2.6.7
    gcc 3.4.0; glibc 2.3.2; vim editor
    migrating to freebsd 5.4

  5. #5
    Casual Visitor
    Join Date
    Oct 2001
    Posts
    350

    Re: Re: how to get source from exe file

    Originally posted by WaltP
    Can't. That's like trying to extract the flour from a cake. One it's a cake, it's no longer flour.
    lol... great analogy :P

    For the OP, search for exe2c, but you won't get the exact c source code back...
    I haven't used a compiler in ages, so please be gentle as I try to reacclimate myself. :P

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Class methods in header or source file?
    By TriKri in forum C++ Programming
    Replies: 13
    Last Post: 09-17-2007, 05:23 AM
  2. gcc link external library
    By spank in forum C Programming
    Replies: 6
    Last Post: 08-08-2007, 03:44 PM
  3. C++ std routines
    By siavoshkc in forum C++ Programming
    Replies: 33
    Last Post: 07-28-2006, 12:13 AM
  4. Simple File encryption
    By caroundw5h in forum C Programming
    Replies: 2
    Last Post: 10-13-2004, 10:51 PM
  5. archive format
    By Nor in forum A Brief History of Cprogramming.com
    Replies: 0
    Last Post: 08-05-2003, 07:01 PM