• Advertisement

Archived

This topic is now archived and is closed to further replies.

Return code 3(0x3)

This topic is 6247 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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.

Share this post


Link to post
Share on other sites
Advertisement
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.

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites

  • Advertisement