🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

Problems with lesson 6!!!!,please read

Started by
1 comment, last by BillyBoo 23 years, 11 months ago
Well,I finally got NeHe''s lesson 6 to compile but now when I execute the program a message box pops up and says suitable pixel format not found. What am I doing wrong now??!?! Please help, Thanks Bill WWash46508@aol.com
Advertisement
''Initialization Failed'' - in this case you have to insert the data file in your debug file... but this is not the problem.

''Can''t Find A Suitable PixelFormat'' - Did this error occur in the other lections, too? (they have the same code...)
- Occur this in fullscreen, in window mode or in both situations?
- Have you manipulate the ''PIXELFORMATDESCRIPTOR'' information?

- Check the ''GetLastError()'' message.
- Try to change the data in ''PIXELFORMATDESCRIPTOR''.
- Try to remove the ''PFD_SUPPORT_OPENGL''. (Only a experiment...)

I remember, my computer give my this message sometime, too. (I think he only want to fooling me...)
I hope this helps you, I''ve try to become such a message too... but nothing occurs ( :-( or :-) choose)

Maybe a other had this problem too and could help you.

Is your desktop in 256 colour mode ?

If it is, and even though you select to run full screen, you''ll get this message.

Anybody know why ?

Johno.

This topic is closed to new replies.

Advertisement