Windows class

Hey there, I am having some trouble with running my implementation of a Windows class as an object. My program is returning with the error code 1407. After some googling, it apparently means that it can't find the windows class... I am making sure to define it first.

Some help would be appreciated, I am stumped. :( (It compiles just fine, btw)

main.cpp
http://pastebin.com/5jsVxcGm

wclass.h
http://pastebin.com/1v4c6779
Last edited on
You're calling CreateWindowEx with the class name "glWindow", but your window class is actually called "GLSample".
Last edited on
augh, thank you so much. I knew it was something stupid like that. I was basing this off the Code::Blocks OpenGL sample project.
Topic archived. No new replies allowed.