I'm posting this with some reluctance, as I prefer to figure out these sorts of errors myself, but I'm lost and could use the help. I recently ported my project from Code::Blocks to MS VS 2010 express. Things mostly went fine, and after a little bit of work I have my program running just as it did before, except it crashes on exit.
The debugger dumps me into a file called crtexe.c, which is a windows file that handles launching (and/or terminating) a program, as far as I can tell based on google results anyway. I get a message saying I have an unhandled exception at 0x76ff15de (ntdll.dll).
Now google searching this topic has shown me that this problem is likely the result of a null pointer hanging out somewhere. The problem I'm having is that nothing I'm getting back from the debugger is even remotely helpful in tracking it down. As far as I can tell, main() actually does return successfully, which doesn't make sense to my noob brain so maybe I'm wrong.
Anyway, if there is anyone out there who can give me a hint on how I might solve this, I'd be very appreciative.






