Advertisement Jump to content

Archived

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

Ecco2000

UnregisterClass() - Is it really needed?

This topic is 6716 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.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!