PDA

View Full Version : wglCreateContext exception



Andrew Jameson
02-09-2004, 10:49 PM
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

roffe
02-10-2004, 07:58 AM
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/default.asp?url=/library/en-us/debug/base/system_error_codes__0-499_.asp) http://msdn.microsoft.com/library/default.asp?url=/library/en-us/opengl/ntopnglr_1awk.asp


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

mithun_daa
02-10-2004, 11:52 AM
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

Relic
02-11-2004, 05:21 AM
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.