Jump to content
  • Advertisement


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


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

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

That was it! You hit the nail on the head. Thanks so much for the help!


btw I am about to check out your project War Worlds.

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

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