473,386 Members | 1,698 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

How to Link a Win32 DLL?

Does anybody knows how a link a win32 dll to c#? I'm particularly
interested in linking the Opengl32.dll,glu32.dll to c#. I have seen the
CsGL and tao Project however i would like to know how to do it without the
tao or csgl.
Thanks

James
Nov 15 '05 #1
3 2114
[DllImportAttribute(...)]

"James" <ar****@hotmail.com> wrote in message
news:uo**************@TK2MSFTNGP10.phx.gbl...
Does anybody knows how a link a win32 dll to c#? I'm particularly
interested in linking the Opengl32.dll,glu32.dll to c#. I have seen the
CsGL and tao Project however i would like to know how to do it without the
tao or csgl.
Thanks

James

Nov 15 '05 #2
[DLLImport "Opengl32.dll"]

"James" <ar****@hotmail.com> wrote in message
news:uo**************@TK2MSFTNGP10.phx.gbl...
Does anybody knows how a link a win32 dll to c#? I'm particularly
interested in linking the Opengl32.dll,glu32.dll to c#. I have seen the
CsGL and tao Project however i would like to know how to do it without the
tao or csgl.
Thanks

James

Nov 15 '05 #3
Thanks Guys

James
"pei_world" <pe*******@hotmail.com> wrote in message
news:uw**************@tk2msftngp13.phx.gbl...
[DLLImport "Opengl32.dll"]

"James" <ar****@hotmail.com> wrote in message
news:uo**************@TK2MSFTNGP10.phx.gbl...
Does anybody knows how a link a win32 dll to c#? I'm particularly
interested in linking the Opengl32.dll,glu32.dll to c#. I have seen the
CsGL and tao Project however i would like to know how to do it without the tao or csgl.
Thanks

James


Nov 15 '05 #4

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

Similar topics

7
by: Christos TZOTZIOY Georgiou | last post by:
Last night I was compiling the latest python snapshot at my home Linux system (a K6-III @420 --the extra 20 Hz is overclocking :); then I tried building a shared version of the interpreter. I did...
4
by: John Hunter | last post by:
I am using distutils to build a python extension module on win32. I initialize the Extension class with a list of libraries with Extension("_gd", , include_dirs=incdirs, library_dirs=libdirs,...
2
by: Jacques | last post by:
Hello there I'm pretty new to C, so this is probably an elementary question.... I'm trying to write a simple c program that calls a function in a third party library. I would then like to link...
7
by: BekTek | last post by:
When I build boost libs, I realized that there is static link at runtime.. What does that mean? I thought static linking is done at compile time. Am I wrong?
3
by: Leon | last post by:
Is it possible? Say We have a list of suppliers link like A supplier B supplier when right click on a supplier, a context menu(that has "details","view products", etc) appears and click...
3
by: Leith Bade | last post by:
I have been trying to use the new Visual C++ Toolkit 2003 with the VC6 IDE I set up the executable, inlcude, and library directories to point to the new compilers I had to fix a few errors in the...
0
by: Eric Twietmeyer | last post by:
Hello, Am I mistaken in thinking that if I have a mc++ dll that I should be able to link against it (so long as it has exported symbols via declspec(dllexport)) in an unmanaged application? I...
2
by: Angus | last post by:
Hello I am using some classes from a third party and have included them in my projecxt and am compiling and linking with them. Everything compiles ok but I get these link errors: I added...
1
yabansu
by: yabansu | last post by:
Hi all, I implemented a basic client application. It communicates with server and works properly. Building processes succeed just by giving the following warning: LINK : D:\DOC\Visual Studio...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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...

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.