How to call managed c# functions from unmanaged c++
I used C++/CLI wrapper classes described here and it was relatively easy to implement.