PDA

View Full Version : Extensions and VB



Rodrix
03-30-2006, 09:51 PM
Hi everyone!
How are you doing!? :)

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

rgpc
04-02-2006, 09:36 PM
Try using GLEW?

Rodrix
04-04-2006, 11:41 PM
Hi rgpc!
Thanks for answering

What is GLEW and where can I get it? :-)
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

Y-tension
04-06-2006, 08:30 AM
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!

Rodrix
04-06-2006, 11:12 AM
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... :-)