• Advertisement

Archived

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

Error Unregistering Class....

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

Ummm... i''m using Nehe''s basecode and for some reason the UnregisterClass() function fails...

Share this post


Link to post
Share on other sites
Advertisement
check this:

a) the class you are trying to unregister wasn''t registered successfully.

b) the class name you are using is not the same of the one you''ve registered. in this case just make sure to use the same class name...

"The Railgun Master"
DaHeR

Share this post


Link to post
Share on other sites
a) the class was registered successfully.
b) the class name is the same in both functions.

i really don''t know what 2 do.

Share this post


Link to post
Share on other sites
quote:
Original post by Kirkbag
i really don''t know what 2 do.


The Problem should be in some syntax. because all programs use this func just like NeHe did.

Kerkbag why don''t you show me some code?

"The Railgun Master"
DaHeR

Share this post


Link to post
Share on other sites
I had this as well a couple of times, just read through it carefully - its almost certainly a syntax error, mine was

Share this post


Link to post
Share on other sites
I too had a problem with that, but the reason was I terminated my program with a WM_DESTROY message instead of terminating it with PostQuitMessage. Or something like that anyway. Probably not of much help to you, but you never know

Share this post


Link to post
Share on other sites

  • Advertisement