|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Adding reference errors...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,
This page is from a guy who never plays games, but you can try it. http://dotnet.mvps.org/dotnet/faqs/?id=opengl&lang=en I hope this helps, Cor Show quoteHide quote "Michael" <Mich***@discussions.microsoft.com> schreef in bericht news:C7CC42C6-BC36-41A8-AA2C-9C7CD121CBFD@microsoft.com... > 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" <Mich***@discussions.microsoft.com> schrieb: The DLL is a native DLL. You cannot reference it. Instead you will have to > 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 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. -- M S Herfried K. Wagner M V P <URL:http://dotnet.mvps.org/> V B <URL:http://classicvb.org/petition/> Thanks a bunch!!!
Show quoteHide quote "Herfried K. Wagner [MVP]" wrote: > "Michael" <Mich***@discussions.microsoft.com> schrieb: > > 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. > > -- > M S Herfried K. Wagner > M V P <URL:http://dotnet.mvps.org/> > V B <URL:http://classicvb.org/petition/> > > 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 normalyPrivate myView as OpenGL.View Cor Thanks for pointing this out. I've had problems like this happen on hundreds
of other sites before.
Help needed, Removing duplicate lines in text file
Bug in VS 2005 VB "Application Framework"? SQL Update - DataViewRow How to prevent DISTILLER from propting output filename ? How to compare Word Docs? Changing datagridview cells borders at runtime Integer literals Saving PointF data in MSAccess How do I get COMPLETE response from HttpWebResponse using StreamReader??? Unknown error.... |
|||||||||||||||||||||||