PDA

View Full Version : ?? opengl32.dll / opengl32.lib (Win32)



Feldi
04-02-2001, 06:41 AM
I'd just like to know is opengl32.lib
an import library for opengl32.dll
(it does LoadLibrary of .dll ..etc for me),
or is the static link version of opengl32.dll

Also since I have Voodoo2 shall I use the
3Dfx miniGL dll, because I have troubles viewing FullScreen (Nehe tutorials)?

Bob
04-02-2001, 11:04 AM
Can only answer the first question. opengl32.lib is an import library for opengl32.dll. So, the .DLL-file is required in runtime.

Teofuzz
04-02-2001, 12:04 PM
Hi, I also have a Voodoo2. (spent a lot of days for drivers etc. trying to make it work).
The correct way to write apps (thinking that it might run everywhere) requires that you detect if a 3dfx card is present. If not, proceed as usual. In the other case you must load dynamically the file 3dfxvgl.dll (or something like this) and get all the proc addresses you need...
I know this seems terrible... http://www.opengl.org/discussion_boards/ubb/eek.gif
The simplest way is to code your program normally, say like NeHe's tuts, and put a copy of 3dfxvgl.dll renamed to opengl32.dll in the app dir, and hope that your users that own a 3dfx will do the same.
I like the 2nd way... bye
tFz

[This message has been edited by Teofuzz (edited 04-02-2001).]

Feldi
04-02-2001, 10:19 PM
Thanks for answers! I thought about detecting
(enumerating) different cards. I just dont know how to do that. Also how could I select
on wich card will the OpenGL render (except selecting 3dfxminigl.dll) ?

I have ATI 3DXpression+ and Voodoo2