Dave,
You won't be able to use them directly in .NET. Rather, you will have
to create a new managed C++ project where you would link to the lib, and
expose the classes inside of it. If they are just functions, then you can
wrap the functions in a regular dll that exports functions, and then access
it through the P/Invoke layer.
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
-
mv*@spam.guard.caspershouse.com
"Dave" <db*@012.net.il> wrote in message
news:eH**************@TK2MSFTNGP14.phx.gbl...
Hi,
I am writing a C# application that need to use an old c++ code in lib
files
from vc++ 6 can i do that?
Can i import lib file to C# app and how?
Can you give me some examples code how to do that?
Thanks