[mono-vb] include dll ( C# ? ) and C++ headers
Rolf Bjarne Kvinge
rolflists at ya.com
Thu Sep 25 08:54:16 EDT 2008
> I've two dll which were previously in a c# program.
> using XPlane;
> How can I deal with that in VB.NET?
Add a reference to your C# dlls:
vbnc -reference:CSharp1.dll,CSharp2.dll ... (if you use an IDE just add a
reference to each dll using the IDE).
in your VB file.
> Also I have some C/C++ header files. Can I use them or do I need to
program in C++?
No, C/C++ headers can't be used, you can compile C/C++ code into a library
and then use P/Invoke to access the library. Search MSDN for information,
it's explained in detail there.
> Thanks Michael
> View this message in context: http://www.nabble.com/include-dll-%28-C--
> Sent from the Mono - VB mailing list archive at Nabble.com.
> Mono-vb mailing list
> Mono-vb at lists.ximian.com
More information about the Mono-vb