View Full Version : Problem with trying opengl

05-18-2001, 09:36 AM
Hey there
I'm new to opengl stuff i was reading tuts and wanting to try some examples
using visuall c++ 6.but i'm having problems. first when i want to try OpenGL based screensaver i get this error message:
-The Instruction at "0x03124013" referenced memory at "0x00000000".The memory could not be "read". Click on OK to terminated the program. Click on Cancel to debug the program .

it'll try to debug with visual c++.
anyway i'm compiling & building nehe example in visual c++ and when i execute
the exe file i get the same message but with different address for the instruction...
something like: "the instruction at "0x02b04013" ..........

Anyone can help me,advise or whatever? cause i'm really pissed of and cant try and readon because of this.

*note i'm using win2k,256mb ram,celeron 333,tnt32
opengl32.dll and glu32.dll are present.i'm doing what nehe tutorial says (adding those three opengl libs that i need for work in visual c++ and so on...



05-21-2001, 12:11 AM
That looks like the classic "NULL-Pointer" error.

You are using a pointer that is not intialized and therefor points to the address 0x00000000.

Hope that helps.