• Advertisement

Archived

This topic is now archived and is closed to further replies.

Help with the first Nehe Tute

This topic is 5639 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

i have done everything step by step and i can build it and everyting BUT when it asks me if i want full screen or not no matter what i press it comes up with a box and the words: Failed to Register the window class! i don''t know why either.....anyone help?

Share this post


Link to post
Share on other sites
Advertisement
What OS are you using, what graphics card do you have, and how old are you graphics card drivers ?

Share this post


Link to post
Share on other sites
I''m not sure if S3 cards have a good OpenGL compatibility.
Have you tried other OpenGL applications and do they run fine ?

Share this post


Link to post
Share on other sites
i used to have that chip (or Savage 2k, i don''t remeber really), and i think that (iirc, of course... it was a loong time ago! ) nehe tut #1 ran fine.

---
shurcool
wwdev

Share this post


Link to post
Share on other sites
yeah, the exe i downloaded after the tute runs great! but i want my own to work......

Share this post


Link to post
Share on other sites
Wait a minute. You''re saying the the exe supplied runs without a problem (without the class registration error), while when you compile it, it fails? Have you made any changes to the code?

Later,
ZE.

Share this post


Link to post
Share on other sites

no, i didn''t make any changes, i copied it straight from the site as i worked through it, that leads me to beleive that the code used for the exe, and the code on the tute is dirrerent, weird stuff...

Share this post


Link to post
Share on other sites
The code for the tutorial and the exe are not different..

I can compile it and it works perfectly. When you download the source code and try to compile that, does that work? If that works well you''ve made a mistake with copying the code

Share this post


Link to post
Share on other sites
I didn''t meant that the compiler could be wrong (btw, compilers are written by humans too ) I meant that Majin could be not using the compiler correctly.

Share this post


Link to post
Share on other sites
He said he copied and pasted it. More than likely he left something out. I would suggest he download the source at the bottom of the page and compile that, just to make sure. I know every time I tried to copy and paste something that large I would screw up.

Share this post


Link to post
Share on other sites

  • Advertisement