|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
How can I use C++ Lib file into dot netI have a library file (.lib) which was developed in c++, I need to use this
lib file into .net Can I convert the lib file into dll or is there any way to use this lib in ..net? Hi,
It appears that you dont want to convert your .lib file into DLL and then use DLLImport.Then Its a better plan to write a wrapper (in Managed C++, of course) for your unmanaged class as the following Link shows with a simple example: http://www.codeguru.com/cpp/cpp/cpp_managed/interop/article.php/c4863/ Thanks and Regards, Manish Bafna. MCP and MCTS. Show quote "Umeshnath" wrote: > I have a library file (.lib) which was developed in c++, I need to use this > lib file into .net > Can I convert the lib file into dll or is there any way to use this lib in > .net? > Hi,
you will find following URL also useful: http://www.ondotnet.com/pub/a/dotnet/2003/01/13/intromcpp.html Thanks and Regards, Manish Bafna. MCP and MCTS. Show quote "Umeshnath" wrote: > I have a library file (.lib) which was developed in c++, I need to use this > lib file into .net > Can I convert the lib file into dll or is there any way to use this lib in > .net? > |
|||||||||||||||||||||||