If you are not very familiar with writing a managed C++ wrapper around an unmanaged C++ class library as I had to do last week, the following tutorial is of great help: http://www.codeguru.com/Cpp/Cpp/cpp_managed/interop/article.php/c6867/
The sample shows how to instantiate classes from C# and make callbacks from unmanaged to managed code with delegates.
One of the next things I needed was the conversion between STL strings std:string and System::String which is described here.
Disclaimer The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.
© Copyright 2008, Denis Bauer