Return 3;

Mar 26, 2010 at 3:36pm
For some reason my program is returning with a code of 3. My program starts, creates a window, initializes everything needed for drawing with DirectX, it loads its resources, and then it simply exits for no reason at all. My WinMain function doesn't even finish, I put a MessageBoxA right before the end and it wasn't called.

I don't call exit() at any point, so it's not something going wrong with the order of processing in my program. I've searched the DLLs that I use and none of them use the exit() function at any point either. Does anyone know if there's some universal use for returning a value of 3? I'm completely lost here.
Last edited on Mar 26, 2010 at 3:39pm
Mar 26, 2010 at 3:51pm
Without code, the only thing I can give you is this link:
http://www.hiteksoftware.com/knowledge/articles/049.htm
Topic archived. No new replies allowed.