Jump to content
  • Advertisement

Archived

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

Ecco2000

UnregisterClass() - Is it really needed?

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

What is the purpose of UnregisterClass() if nobody uses it or at least from the demos I''ve seen on this site.

Share this post


Link to post
Share on other sites
Advertisement
yes, you should call unregister class. i cleans up the memory allocated by the corresponding registerclass function. the memory may be cleaned up after the program is terminated, but why not just write good code in the first place, so you don''t have to worry about it.

Share this post


Link to post
Share on other sites

  • 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!