Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 4 of 4

Thread: wglCreateContext exception

  1. #1
    Junior Member Regular Contributor
    Join Date
    Feb 2000
    Location
    Bolton, United Kingdom
    Posts
    103

    wglCreateContext exception

    Looking for advice ... it's been reported that our application is experiencing a failure in creating a context:

    "wglCreateContext failed 8"

    At least the user had the courtesy to tell us but no details about his/her machine.

    Is this likely to be a problem with their graphics driver as the app has been perfectly stable on many systems ?

    Thanks

    Andrew

  2. #2
    Member Regular Contributor
    Join Date
    Jun 2002
    Posts
    366

    Re: wglCreateContext exception

    With the little information you've given it's almost impossible to tell. If the 8 in "wglCreateContext failed 8" is the error code returned from GetLastError() it looks like an ERROR_NOT_ENOUGH_MEMORY error.
    http://msdn.microsoft.com/library/defaul...des__0-499_.asp http://msdn.microsoft.com/library/de...pnglr_1awk.asp


    [This message has been edited by roffe (edited 02-10-2004).]

  3. #3
    Junior Member Regular Contributor
    Join Date
    Oct 2003
    Location
    Arlington, Tx, USA
    Posts
    178

    Re: wglCreateContext exception

    Originally posted by Andrew Jameson:
    Looking for advice ... it's been reported that our application is experiencing a failure in creating a context:

    "wglCreateContext failed 8"

    At least the user had the courtesy to tell us but no details about his/her machine.

    Is this likely to be a problem with their graphics driver as the app has been perfectly stable on many systems ?

    Thanks

    Andrew
    we had the same problem too. esp with matrox cards. updating the drivers fixed it for a few days and the same error was reported again. still havent come up with a definete solution. let me know what you found out.
    thanx

  4. #4
    Senior Member OpenGL Guru Relic's Avatar
    Join Date
    Apr 2000
    Posts
    2,453

    Re: wglCreateContext exception

    If this was fixed by a driver update and came back again, maybe you were bitten by Microsoft's automatic Windows update feature which installed a different display driver screwing up the previously working installation.
    Let them compare the driver binaries in windows\system32 and windows\system32\drivers of the working and failing configuration.

Posting Permissions

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