Thread: giving .exe files to other people...

  1. #16
    Hardware Engineer
    Join Date
    Sep 2001
    Posts
    1,398

    Question Disable Debugger

    Assumptions:
    - You are not experiencing the "Window closes before I can see it" problem.
    - You wrote this program yourself... You didn't copy the code.
    - By "open", you actually mean "run" or "execute"... Because you don't normally open an exe file.

    This is just a guess (I don't use Dev-C++): Make sure that the debug option os turned-off. In order for a debugger to work on an exe file, extra shtuff has to be inserted into the exe. Maybe the debug version of the exe won't run if Dev-C++ isn't installed.



    There are cases when the exe does rely on external files...
    If you wrote the code yourself, then you would know if the program needs some special dll, etc. This is not going to happen accidently! If it's a complicated program that you copied from someone else... and you don't fully understand the source code, then this could be the case.


    It should work as long as the exe was compiled for their operating system.
    Except as noted above, this is true, true, true! Actually, it has to be compiled for a particular platform too... But, let's assume that both of you are running XP on "PC compltible" machines. When you compile "Hello World!", does it execute on her computer?

  2. #17
    Registered User major_small's Avatar
    Join Date
    May 2003
    Posts
    2,787
    Quote Originally Posted by DougDbug
    This is just a guess (I don't use Dev-C++): Make sure that the debug option os turned-off. In order for a debugger to work on an exe file, extra shtuff has to be inserted into the exe. Maybe the debug version of the exe won't run if Dev-C++ isn't installed.
    Dev-C++ doesn't include debugging information by default. you have to turn that on manually... how is this girl trying to 'open' the .exe? does she know just to click it, and not to try opening it in IE?

    g0g0 sean_mackrory
    /me joins chant
    Join is in our Unofficial Cprog IRC channel
    Server: irc.phoenixradio.org
    Channel: #Tech


    Team Cprog Folding@Home: Team #43476
    Download it Here
    Detailed Stats Here
    More Detailed Stats
    52 Members so far, are YOU a member?
    Current team score: 1223226 (ranked 374 of 45152)

    The CBoard team is doing better than 99.16% of the other teams
    Top 5 Members: Xterria(518175), pianorain(118517), Bennet(64957), JaWiB(55610), alphaoide(44374)

    Last Updated on: Wed, 30 Aug, 2006 @ 2:30 PM EDT

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Multiple Cpp Files
    By w4ck0z in forum C++ Programming
    Replies: 5
    Last Post: 11-14-2005, 02:41 PM
  2. Folding@Home Cboard team?
    By jverkoey in forum A Brief History of Cprogramming.com
    Replies: 398
    Last Post: 10-11-2005, 08:44 AM
  3. Batch file programming
    By year2038bug in forum Tech Board
    Replies: 10
    Last Post: 09-05-2005, 03:30 PM
  4. 0byte .exe files..
    By Marc in forum A Brief History of Cprogramming.com
    Replies: 12
    Last Post: 06-02-2004, 11:15 AM
  5. Religious Bull****
    By Witch_King in forum A Brief History of Cprogramming.com
    Replies: 119
    Last Post: 10-23-2001, 07:14 AM