Advertisement

Return code 3(0x3)

Started by January 12, 2001 09:01 PM
1 comment, last by _Damage_Inc_ 24 years ago
Not sure this is the right forum for this but here it goes. I''ve just got my BSP tree up and running, but when I run the program I get an return code(0x3) from the program. What does that mean... can''t find the code in msdn, does it have to do with memory leaks(my bsp tree is pretty crappy right now). /Damage Inc.
Let me take a stab at this, although someone else can probably give you a better (or more correct) answer. It is my understanding that a program returns zero by default, and only a different value if you put an exit(ret_val) statement somewhere in your program. Btw, ret_val is a number... in your case it seems to be 3. If you are not calling exit(), then maybe some library you are using is calling it when an error occurs. Is your program crashing with that value, or working? I just came up with another idea: do you really mean the program, or a library function? I''ll let someone else figure this out while I go sleep until noon...

--------------------


You are not a real programmer until you end all your sentences with semicolons; (c) 2000 ROAD Programming


You are unique. Just like everybody else.

Yanroy@usa.com

Visit the ROAD Programming Website for more programming help.

--------------------

You are not a real programmer until you end all your sentences with semicolons; (c) 2000 ROAD Programming
You are unique. Just like everybody else.
"Mechanical engineers design weapons; civil engineers design targets."
"Sensitivity is adjustable, so you can set it to detect elephants and other small creatures." -- Product Description for a vibration sensor

Yanroy@usa.com

Advertisement
Well, I don''t use the exit() command anywhere. It works perfectly besides the fact that it returns 0x3. And I would like to fix it before I start rebuilding the BSP tree and adding a light engine etc. since it will prolly be alot easier to find the problem now when it''s a faily small program. When I tab out of the program and choose Stop debugging it returns 0x3 but when I press Alt+F4 it returns 0x3 and I don''t have a clue of what that means

/Damage Inc.

This topic is closed to new replies.

Advertisement