I'm using Dev c++ and I want check the version of opengl I can use(that would be the gl.h file in the include folder for dev c++ right?) through code. I want to print the version text in a window, how exactly would I do this? I was thinking of using messagebox() and glGetString() but I couldn't get it to work. Also, if the version of opengl I'm using it out of date, what are the exact files I would need to get and were would I need to put them? Thanks for any help.