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

What would cause RegisterClassEx() to fail when...

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

Gurus, I am writing a base WIN32 application to anchor my game to. Using the step thru debugger I have noticed that my application fails to register the window class as below. if(!RegisterClassEx(&winclass)) return(0); Here my program exits WinMain and I am left scratching my head. However, if I change to the older RegisterClass() function and make the appropriate changes to the winclass members, it works great! Does anyone know what may prevent the RegisterClassEx() from registering my class when RegisterClass() will? Thanks in advance. Edited by - cclements on June 22, 2001 12:12:39 AM

Share this post

Link to post
Share on other sites
if you forget this kind of stuff to fill in
i don''t want to see how many bugs you''ll get in your games
pay attension man!

don''t be lazy, if you write it then write it perfectly!

[QSoft Systems]

Share this post

Link to post
Share on other sites