Adding reference errors...

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I'm going to study OpenGL, but I'm not having the best of luck starting off...

I use Windows 2000, so I already have the OpenGL32.dll, but when I try to
add it as a reference I get an error saying to determine if it's a valid COM
file, etc... Anyone have an idea about why this happens? Also, I'm using
VB.NET
 
Michael said:
I use Windows 2000, so I already have the OpenGL32.dll, but when I try to
add it as a reference I get an error saying to determine if it's a valid
COM
file, etc... Anyone have an idea about why this happens? Also, I'm using
VB.NET

The DLL is a native DLL. You cannot reference it. Instead you will have to
use 'Declare' or 'DllImport' to import the functions exported by the DLL.
Cor has already provided the address of my collection of OpenGL wrappers for
..NET.
 
Thanks a bunch!!!

Herfried K. Wagner said:
The DLL is a native DLL. You cannot reference it. Instead you will have to
use 'Declare' or 'DllImport' to import the functions exported by the DLL.
Cor has already provided the address of my collection of OpenGL wrappers for
..NET.
 
Well, how does that guy do this

<code>
Imports CsGL.OpenGL

Public Class Form1
Inherits System.Windows.Forms.Form
Private view As myOpenGL.myView
Private thrOpenGL
<end code>

I've tried 'Private view as' and it stops there becuase there is no such
thing as 'myOpenGL.myView' Even if you reference to 'CsGL.dll'
 
Michael,

I don't know anything from OpenGl than that it is an alternative for DirectX
to play games.

But this looks strange to me.
Private view As myOpenGL.myView
This is normaly

Private myView as OpenGL.View

Cor
 
Thanks for pointing this out. I've had problems like this happen on hundreds
of other sites before.
 
Back
Top