I Have problems with this instruction, when my program do this instruction send the next message:
The instruction at “any direction” referenced memory at “0x00000000”. The memory could not be “written”.
I don’t understand the problem.
Thank for any help.
Check you pointers. Something you’re passing around and trying to write to is NULL.
My problem is more complicate.
I have Win NT 4.0 SP6 and my video is a Voodoo3 3000.
In another PC the same application run good.
This PC have Windows 2000 Professional and the video is a Asus 7700 GForce 2 Ultra.
But, in the NT when I review the values I have the next.
DC (HDC) = 2281769321 or anhoter correct value.
oprc (HGLRC) = 65536 every time.
oprc I take from wglCreateContext(DC).
I think my problem are the DLLs of Open GL
I preciate any information.
Post your section of code for setting up the PixelFormat stuff. That’d probably help us see the problem a lot quicker.