Hi. I’m learing OpenGL programming at university and I need a little help (I’d ask the prof but he’s not used to my prog environment…). I’m running WinXP with MS VC++ 6.0. I have downloaded service pack 5.0 for VC++ and have the (apparently) most up-to-date OpenGL drivers.
I’ve been attempting to make a very simple program (named funct). According to my textbook, all my code is correct, and the compiler gives no errors. Whenever I run it, however, I receive a “Unhandled exception in funct.exe (GLUT32.DLL): 0xC0000005: Access Violation.” error message and in the debug window it says “First-chance exception in funct.exe (GLUT32.DLL): 0xC0000005: Access Violation.”. I’ve figured out that the error occurs whenever I try to set a callback function (via glutDisplayFunc(myDisplay) or glutMouseFunc(myMouse) ).
Can anyone help me with this?
[This message has been edited by tosomnic (edited 10-11-2002).]
[This message has been edited by tosomnic (edited 10-11-2002).]