tags:

views:

42

answers:

1

Hello All,

I have couple of lib files and I want to use in my project. How to build the C# Wrapper around C++ lib files.

Any weblink or any tutorial you know, please send me.

Thanks in advance.

Harsha

+7  A: 

Create a C++ CLR Class Library project, and then write a C++/CLI class which wraps the functions in your libs.

From C#, you can then add a reference to your class library, and call the class and its methods directly.

Saxon Druce
+1: Beat me to it :-)
Jon Cage