Visual c++ & OpenGL

Started by
1 comment, last by crashesalot 18 years, 6 months ago
i am following Nehe's OpenGL tutorial with Visual c++ 6.0, and the weirdest thing happened. i added a class to basically draw a retangle in the screen and depending on the parameter, use one texture or the other, on the Lesson 1 code. now, for some reason, the window only initializes when running from the compiler. If i go to the .exe file, it shows the usual messege "fullscreen y/n?", tries to create the window, then shows the message "Initialization Failed". Hows that possible? it runs perfectly from the compiler.
Advertisement
Make sure there is a copy of the texture in the directory that the .exe is in - when you run it from debug it uses the directory the project is located in, not one of the bins. Can be confusing at first. Its a pretty bad compiler, you should consider upgrading it :P

* Mushu just upgraded from 6 like, last week and Beta2 is awesome *
it worked!Thats gottta be a record.
Thanks Mushu!

This topic is closed to new replies.

Advertisement