[Mono-dev] [Mono Embed]How can I implement an abstract class of C++ in C#?

xoyojank xoyojank at gmail.com
Wed Jan 11 02:06:41 UTC 2012

I seems that MSVC support of CXXI is not completed now.
Currently I use SWIG to generate the binding code. Although there is a
feature called "director" which can override virtual methods in C#, but I do
not know how to handle exceptions like mono_runtime_invoke.
I do that in another way for exception handling:
class A
   int testInt;
   virtual void Test()
        mono_runtime_invoke(monoObject, monoTestMethodOfSubClassInCs, args,

templates is not necessary for me now.

View this message in context: http://mono.1490590.n4.nabble.com/Mono-Embed-How-can-I-implement-an-abstract-class-of-C-in-C-tp4281121p4284220.html
Sent from the Mono - Dev mailing list archive at Nabble.com.

More information about the Mono-devel-list mailing list