Jump to content
  • Advertisement
Sign in to follow this  
Tree Penguin

Application Error?!?

This topic is 4747 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

Hi, i got this error: I'll try to translate it to english but i'm sure i won't use the right terms: game.exe - application (or program) error Cannot initialize the application the proper way (c00000fd). Click OK to end the program. It crashes in ntdll.dll (says the msvs debugger) as a result of a stack overflow, it happens before winmain is called. I tried reverting to the code that did work and slowly adding the code to see where it goes wrong, which is the point where i call a function i added to code of, but when i then undo the step (or even all steps) it still gives the error, until i copy all of the files (project files too) from the working version back again. If i choose to continue debugging the program works fine. What can possibly cause this error, how can i prevent it? I'm in kind of a hurry, so all advice is welcome! Thanks! EDIT: To be a little more clear, the function i'm talking about is in a seperate dll and the function is called from the dll itself (it is exported anyway). I think it's something that goes wron with the linking, but it doesn't make sense at all.

Share this post


Link to post
Share on other sites
Advertisement
If it's a stack overflow, it's probably because you're recursing into a function too many times.
If this is a debug build, you should be able to see the call stack, and see why the function is being called over and over again.
Does the problem occur in debug and release mode? Or only one of them?

Share this post


Link to post
Share on other sites
Yep, i just found out that's indeed the problem, i was recursing an unload function in itself. I just found the warning, i usually don't check warnings but i guess i should :).

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!