croman102's picture

Unable to find an entry point named 'glDetachShader' in DLL 'opengl32.dll'.


I have a problem! When I try to detach shader I get an error "Unable to find an entry point named 'glDetachShader' in DLL 'opengl32.dll'.". I have found few similar topics, but their problem was old graphic card (I have 2 hd6790 in crossfire (opengl: is 4.2.12217) with latest drivers).

Could you please help me.

Thank you!

Sorry for my bad English.


Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
croman102's picture

Here's a little update.
I have installed new beta drivers for my graphics cards and opengl version is now 4.3, but it has not solved the problem.
The same thing happens with glcreateshader.

ATI Technologies Inc.
AMD Radeon HD 6700 Series
4.3.12441 Compatibility Profile Context
4.30 (shader)

Thank you

croman102's picture

I have re-downloaded opentk (the same version) and drivers for graphic cards and now it works (I have no idea why).

There is another problem now (of course there is one).
I am slowly moving my project from tao to opentk. I was using Gl.gldrawArrays (Gl.GL_TRIANGLES, 0, size), and that worked with tao. When I switched to opentk, that won't work. I tried to change all of tao calls to opentk ( GL.DrawArrays(BeginMode.Triangles, 0, size ); ...), but it won't work. It just draws empty background (clear) color. I had two scenes in my program, in the first one, there was about 500FPS (FRAPS), and in the other about 160FPS. I was switching between those scenes with a keyboard. When I start my program fps is about 550 (maybe because opentk is faster than tao?), and when i switch the 2nd scene it is about 200, so it is taking some time to render more complicated 2nd scene. Please help.

Thank you.