Extensions and VB

Hi everyone!
How are you doing!? :slight_smile:

Does anyone have any idea as how to use extensions (such as multitexturing) in VB? My .tlb library
contains declarations such as:

  
    [entry(0x6000001c), helpstring("todo")]
    void _stdcall glMultiTexCoord4f(
                    GLenum __MIDL_0083, 
                    GLfloat __MIDL_0084, 
                    GLfloat __MIDL_0085, 
                    GLfloat __MIDL_0086, 
                    GLfloat __MIDL_0087); 

and have the mention “Todo” as if unfinished.

I heard that you have to use a dll because VB doesn’t accept pointers or stuff like that. Does anyone have a link of page that talks about how to override this problem!?

Thank a lot!
Cheers,
Rod

Try using GLEW?

Hi rgpc!
Thanks for answering

What is GLEW and where can I get it? :slight_smile:
I am now learning how to compile DLL’s for VB so that I can use extensions, so I am now programming in C++!

For me OpenGL in C++ is a new experience. I got this problem: “LINK : fatal error LNK1104: cannot open file “glut32.lib”
Error executing link.exe.”
Anybody can help me how to fix it?

Thanks!
Cheers,
Rod

glut32.lib is usually not part of the standard libraries that come with win32 compilers.However you may download the library from:

http://www.opengl.org/resources/libraries/glut/glut_downloads.php#windows

hope that helps!Cheers!

Thanks!
I found the glut32.lib
and the GLEW link for anyone else that wants it is:
http://glew.sourceforge.net/

I will give it a try… :slight_smile: