Hi,

I was wondering if there was an easy way to import a C++ (Dll Exported)
Class in a C#/.Net program so I could call :

MyClass oMyClass = new MyClass(); //MyClass is coming from the C++ DllExport

I know how to import a static function with
[DllImport("myDll.dll", CharSet = CharSet.Auto]
public static extern myFunc();

But I would really like to know how to import a whole class and all of its public methods.

Thank you