Click here to Skip to main content
11,802,636 members (71,302 online)
Rate this: bad
Please Sign up or sign in to vote.
See more: C++ Windows OpenGL
Hello everyone!

I have an application that opens many windows. Sometimes, I get wglCreateContext() returns 0 and GetLastError() returns 0xc007001f.

It happens on Intel graphic cards only.

Did someone see it? Someone knows what it is?

Posted 6-May-12 2:15am
Sergey Chepurin at 6-May-12 8:47am
Seems that this is kind of "reserved" error code, the one with nowhere to find the meaning. Try to look in Application log of Event Viewer (that is what they often recommend in such cases).

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Are you creating your windows with the CS_OWNDC flag?

For now, Intel has poor support for OpenGL. They have entered into a technology agreement with NVidia, so future cards may have better support. You may just be exceeding the capacity of the Intel Graphics Drivers.

In the past I've used the Mesa OpenGL DLL to work around issues with their drivers. This may or may not solve your problem.

As a rule, I tell clients not to use Intel Graphics cards with OpenGL products.

I recommend NVidia or ATI.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 KrunalRohit 366
1 OriginalGriff 365
2 F-ES Sitecore 295
3 Afzaal Ahmad Zeeshan 230
4 CPallini 230
0 OriginalGriff 2,950
1 Maciej Los 1,910
2 KrunalRohit 1,862
3 CPallini 1,695
4 Richard MacCutchan 1,157

Advertise | Privacy | Mobile
Web03 | 2.8.151002.1 | Last Updated 7 May 2012
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100