News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

program exit codes?

Started by MoonKid, March 21, 2007, 11:52:50 AM

Previous topic - Next topic

MoonKid

If I run my application the debugger says "Program exited with code 03."

What does it mean?

thomas

Not given any more information, nobody will be able to tell you.

If your program runs fine otherwise, and this is the only thing you see (program does not execute) if you run it in the debugger, this can mean (among other things) that you either
- have an uninitialised variable or you do some nasty variable alias trickery, or have order of global variable initialisation issues
- do something that throws a signal early at startup (certain Windows API functions do that in normal operation)

It it happens when you run the program normally, then it just means that your program exits with code 3, which, knowing nothing about your program, means pretty much nothing or anything.
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."