473,473 Members | 2,168 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

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
Jun 19 '06 #1
6 1115
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

"Michael" <Mi*****@discussions.microsoft.com> schreef in bericht
news:C7**********************************@microsof t.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

Jun 19 '06 #2
"Michael" <Mi*****@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/>

Jun 19 '06 #3
Thanks a bunch!!!

"Herfried K. Wagner [MVP]" wrote:
"Michael" <Mi*****@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/>

Jun 19 '06 #4
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'
Jun 19 '06 #5
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
Jun 19 '06 #6
Thanks for pointing this out. I've had problems like this happen on hundreds
of other sites before.
Jun 20 '06 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Lisa Jones | last post by:
Hi I am trying to add web reference to my code to use web services . (I am using VS 2003) so I go to add references/ select web reference. After selecting the right web service from my local...
2
by: Neil Guyette | last post by:
Hello, All, It would be greatly appreciated if someone could throw me the bone on this question! I'm working on a project in Visual C++ .NET. I'm trying to generate a list of SQL servers that...
0
by: Michael Höhne | last post by:
Hi, we're developing some web services and use the local development server of Visual Studio 2005 to create, run and debug the project. The web service methods connect to a database hosted on a...
5
by: Michael Russell | last post by:
Hi all, Using C#, I've created a simple wrapper class for using Excel. I have Office Pro 2003 installed on my devel machine. The wrapper class works great, reading and writing to/from Excel. ...
0
by: Mohammad Hashemian | last post by:
Hello, I'm writing an application and in one of my form, I used a COM component to design a special UI. this component added to the reference section of project, but when I close the IDE and open...
3
by: Eric | last post by:
Hello, I have an application that's a mix of classic ASP and ASP.NET running on Windows server 2003. I have a couple other dlls that are strongly named and are entered in the GAC. For those...
1
by: sharc | last post by:
I've got a project that has been giving me torment for a day orso now!! I've got the following errors, and I know it's a reference that I need to add to get rid of the error, but don't know which...
8
by: Jason | last post by:
Hello, I am trying to utilitze the AJAX Control toolkit in my asp.net project. I have added a reference to AjaxControlToolkit.dll, and in my page, added these lines of code: ...
5
by: nomad | last post by:
Hi, I was wondering if it was possible to add a service reference to a web service which requires an SSL certificate to authenticate? If not, if I have the SSL certificate installed via mmc...
2
by: Peter Webb | last post by:
I want to use the arbitrary precision integer arithmetic package "IntX", from http://codeplex.com/IntX/ This adds a multiprecision class for integers. I cannot see how to add an external class...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.