Call .lib file in c#

  • Thread starter Thread starter Manoj Nair
  • Start date Start date
M

Manoj Nair

Hi,
How can I use a .lib file made in c++ in my c# application

thanks in advance
Manoj
 
Manoj Nair said:
How can I use a .lib file made in c++ in my c# application

You can't use it directly - only DLLs can be loaded from C#. However,
you could write a DLL in C++ which linked against the .lib and exposed
everything you needed.
 
Thanks Jon
Manoj
Jon Skeet said:
You can't use it directly - only DLLs can be loaded from C#. However,
you could write a DLL in C++ which linked against the .lib and exposed
everything you needed.
 
Back
Top