kjartan,
If the dll file exposes all the functions that you need (and assuming
that it exports functions, and not classes), you can make the calls to the
exported functions by making the declarations in C#, using the DllImport
attribute.
If the lib is what exposes the functions, and they are not exported
through a DLL, then you will have to create a dll which makes the calls to
the lib file, and then exposes those functions in a manner which can be
called through .NET.
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
-
mv*@spam.guard.caspershouse.com
"kjartan" <kj************@sensetech.no> wrote in message
news:op**************@kjafur.sense.sensetech.no...
Hi,
I've got a digital IO card that has a dll and a lib file to use with C++.
How Can I use this in C#?
thanx
--
Using Opera's revolutionary e-mail client: http://www.opera.com/m2/