vb and openGL

hey there
any good tutorial on openGL programming in Vb
help desperately needed

I don’t think you need a tutorial specifically for vb. OpenGL is based on c.
And vb can call libiraries base on c or c++.
So any book on OpenGL is helpful.

Originally posted by jiangerlai:
[b]I don’t think you need a tutorial specifically for vb. OpenGL is based on c.
And vb can call libiraries base on c or c++.
So any book on OpenGL is helpful.

[/b]

Quite true, jiangerlai. However, I feel it might be helpful to mention that calling c/c++ functions from VB can be quite tricky. I dealt with this when I had to make Win32 API calls from VB. VB doesn’t have pointers so any c/c++ function that accepts a pointer as an argument or returns a pointer is a little goofy. If I recall correctly, in general you can use a VB String in place of most pointers.

I have a good book “Dan Appleman’s Visual Basic Programmer’s Guide to the Win32 API” that discusses Win32 API calls specifically, and c/c++ calls generally. There’s also plenty of info online.

Best of luck,
-tom