Error Unregistering Class....

Started by
4 comments, last by Kirkbag 22 years, 2 months ago
Ummm... i''m using Nehe''s basecode and for some reason the UnregisterClass() function fails...
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
____________________________________MSN | AIM | YIM | ICQ
a) the class was registered successfully.
b) the class name is the same in both functions.

i really don''t know what 2 do.
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
____________________________________MSN | AIM | YIM | ICQ
I had this as well a couple of times, just read through it carefully - its almost certainly a syntax error, mine was
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

This topic is closed to new replies.

Advertisement