Click here to Skip to main content
15,888,984 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello alll
Pleeeeeeeese help !!!

i am trying to copy my old project of OpenGl using Tao Framework to another new solution and every thing is alright but i have trouble with textures
when i run my program it gives me this exception. :( :( :((

( Unable to find an entry point named 'glActiveTexture' in DLL 'opengl32.dll'.)
at this line
Gl.glActiveTexture(Gl.GL_TEXTURE0);


i passed 2 days searching for solution at the web but for sorry no way

Please any body can help me ???

Thanks :)
Posted

Please see here[^] for an explanation on why you are getting the error.

As for the troubleshooting, were you able to take a look at the following forums?
http://www.opengl.org/discussion_boards/ubbthreads.php?ubb=showflat&Number=130422[^]
http://www.gamedev.net/topic/465618-how-do-i-use-multiple-textures-in-opengl-in-vbnet/[^]
 
Share this answer
 
CSS
Please see here[^] for an explanation on why you are getting the error.

As for the troubleshooting, were you able to take a look at the following forums?
http://www.opengl.org/discussion_boards/ubbthreads.php?ubb=showflat&Number=130422[^]
http://www.gamedev.net/topic/465618-how-do-i-use-multiple-textures-in-opengl-in-vbnet/[^]




For sorry i am using OpenGl at Tao framework at C# not VB Or C++.

and my old project was so so simple but i couldn't find the differences of them

any ideas ???
 
Share this answer
 
Hi,

glActiveTexture is not an exported function of opengl32.dll.
You can use this opengl extension for multi-texturing. You need to get function address of glAtiveTexture using glGetProcAddress. May be Tao framework will handle it.

Possibly your machine do not have ARB_multitexture extension. And therefore glGetProcAddress("glAtiveTexture") will return 0.

glActiveTexture is only supported if the GL version is 1.3 or greater, or if ARB_multitexture is included in the string returned by glGetString when called with the argument GL_EXTENSIONS.

http://www.opengl.org/sdk/docs/man/xhtml/glActiveTexture.xml[^]

Please check your machine have ARB_multitexture extension support.

You can use following application to view opengl extensions in your machine.
http://www.realtech-vr.com/glview/download.html[^]
 
Share this answer
 
Comments
medo islam 13-Sep-11 19:36pm    
hello man thanks tooooo much for ur kind and helpful replay

i think i could found the error according to your solution that my graphics card support till openGl 1.6 only but i use openGl 4 or higher

but what made me confused that my old project run at the same PC with open gl 4 !!!

is it logic scenario ???

can u help please ?

thanks in advance :)

bye bye
You mean the same application( or code ) running in same machine ?

If so you have to check initialisation of OpenGL rendering context in your calling thread.
Maybe Tao frmework have some Intialize() calls for OpenGL rendering Context.

To get access to an OpenGL extension, you need to initialize rendering context.
If OpenGL rendering context is not correct you can't access some extensions.

Is there any change to your rendering window ?
 
Share this answer
 

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900