Re-wire the code. C# and C++ are differentl languages and you con't simply
use C3 as if it were C++.
On the other hand, you can probably turn (much of) the C# code into a
library (DLL) if it isn't already. In that form, you can call that library
code directly from managed C++, so maybe you don't need to do any
re-writing.