Original Post
🔒 Locked
CreateWindow Fails
Advertisement
I think that if you try to create a window class and then create the window all in a class''s constructor, the CreateWindow will fail. I''ve had this problem. Make the constructor register the window class, then create the window afterwards, once the WndProc is accessible and the window class is registered properly.
Topic Locked
This topic has been locked by a moderator. New replies are not allowed.
Sign in to reply to this topic.
Advertisement