Jump to content
  • Advertisement
Sign in to follow this  
ekrax

who called me?

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

hello, ive got a problem with my win32 / opengl app. basically my killwindow function is being called and then failing to release hWnd and RC and such but there is a bunch of locations where it could be getting called from. before i start manually adding in break points and such is there anyway that i can find out what function called the killWindow?

Share this post


Link to post
Share on other sites
Advertisement
screenshot of the debugger in VS7.1, call stack is highligheted in red, should be very similar in VC6, VC2005, Codewarrior 7+, and possibly even DevC++.

ignore the black streaks, i had to edit out the project name.

Share this post


Link to post
Share on other sites
wow i feel really stupid, it turns out the destructor was being called, which means the window was going out of scope ... duh i forgot to pass the window by refrence to the functions that required the window class. thanks for the help.

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!