Click here to Skip to main content
11,721,053 members (82,587 online)
Rate this: bad
good
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?

Thanks!
Posted 6-May-12 2:15am
Comments
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
good
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.
  Permalink  

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

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 500
1 OriginalGriff 334
2 Mika Wendelius 160
3 F-ES Sitecore 140
4 Maciej Los 80
0 Sergey Alexandrovich Kryukov 2,199
1 OriginalGriff 959
2 F-ES Sitecore 640
3 Maciej Los 609
4 Richard MacCutchan 540


Advertise | Privacy | Mobile
Web01 | 2.8.150901.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