When I downloaded, and upgraded the visual C++ sample code for visual studio 2012, I can build but I'm getting an access violation exception on wglCreateContext.
I've googled around this method call and seen references to it being "dodgy" on some machines - which sounds crazy for something as established as OpenGL. I'm on Windows 8.
I think it might be to do with getting exactly the right OpenGl libraries installed maybe the defaults with VS aren't right?
Can anyone help - I'm losing my hair over this and it's the first OpenGl code I've tried to compile on this machine - feels like it should be easy.