Crash appearing overnight : nvogl32.dll unhandled exception

  • nick456789
    Likes 0

    Problem Description

    Hi !

    I’m following your course on uDemy and I’m at [5 – Projections and Coordinate Systems]… I run a Windows PC and write my code on VS2017.

    I got this weird bug overnight with the nvogl32.dll. I compiled and ran my source yesterday and the program ran perfectly, but since this morning I noticed that the program was broken, displaying this exception : Exception thrown at 0x69BDE58E (nvoglv32.dll) in Project1.exe: 0xC0000005: Access violation reading location 0x00000000. occurred …

    Do you have any insight into the causes of this error ?

    Thanks !

  • nick456789
    Likes 0

    I’d actually forgotten to add the depth buffer bit in glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);

     

    Silly me ! Thanks

  • nick456789
    Likes 0

    And it doesn’t work anymore… same error...

  • Sonar Systems admin
    Likes 0

    So did it start working from your second comment?

  • nick456789
    Likes 0

    Yeah…

    The workaround I have is that my .exe needs admin privileges, and thus Visual Studio too… That came to me because of the Illegal Access part… But it does work now !

    Thanks !

  • Sonar Systems admin
    Likes 0

    So it’s working fine now?

Login to reply