Results 1 to 4 of 4

Thread: Getting a Error:Unhandled exception at 0x00000000 in *****

  1. #1

    Getting a Error:Unhandled exception at 0x00000000 in *****

    Hi ,

    I am new to OpenGL API.

    I have started reading SuperBible OpenGL 5th Edition. I have installed Visual C++ 2010.
    I have tried the very first programme in the book . Rendering a triangle. However when I write the same code into C++ IDE and when I compile it I am getting the following error.

    Unhandled exception at 0x00000000 in MyFirstOpenGLProgramme.exe: 0xC0000005: Access violation reading location 0x00000000.

    The very first line triangle.Begin(GT_TRIANGLES, 3); is failing .

    Can any guide me through this.

    Thanks in advance,
    Chand.M

  2. #2
    Junior Member
    Join Date
    Aug 2011
    Posts
    1

    Re: Getting a Error:Unhandled exception at 0x00000000 in ***

    have similar problem. any help?

  3. #3
    Junior Member
    Join Date
    Nov 2011
    Posts
    4

    Re: Getting a Error:Unhandled exception at 0x00000000 in ***

    I am also getting the same error. I too was trying to render a triangle for gaining more depth into Open GL but I am right now halted on my progress because of this annoying unhandled exception error. I could not find any help regarding this in the forums.
    “Read Today, Lead Tomorrow”

  4. #4
    Junior Member
    Join Date
    Dec 2011
    Posts
    1

    Re: Getting a Error:Unhandled exception at 0x00000000 in ***

    I got the same problem. You may check your Opengl support first. The Windows default version is 1.1. But SuperBible 5th needs a higher version. So, the first choice is to update your Graphics Driver(I did so and the problem's gone). Second, you may try the SuperBible 4th, it needs a lower version of Opengl.

    p.s. I'm new in this, too. If it's doesn't work, sorry

Similar Threads

  1. clGetPlatformIDs Exception..
    By phoebe0105 in forum OpenCL
    Replies: 4
    Last Post: 04-20-2010, 05:02 AM
  2. anonymous_jit_identity exception
    By DP007 in forum OpenCL
    Replies: 3
    Last Post: 11-30-2009, 06:19 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •