Archived

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

cclements

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

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
Dean,

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

--Chris

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

Share this post


Link to post
Share on other sites
geee
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!

Arkon
[QSoft Systems]

Share this post


Link to post
Share on other sites