U
Urs Wigger
I have a C++ class which I would like to use without changes in C#
applications. All the C++ class' definition is inline, i.e. the class
'library' just consists of a single header file. The class contains some
pure virtual functions. In a C# application I would now like to derive a
C# class from the C++ class and override the virtual functions.
Unfortunately I have not found a sample that is simple enough and
demonstrates the technique to do so. I succeeded with just calling C++
class methods from C#, but the tricky point is being able to derive a
class and override the virtual functions. I'm sure there must be a way.
Can anybody help me?
Thanks in advance
Urs
PS: For direct e-mail contact, please remove leading 'ns_' and trailing
'_ns' from e-mail address.
applications. All the C++ class' definition is inline, i.e. the class
'library' just consists of a single header file. The class contains some
pure virtual functions. In a C# application I would now like to derive a
C# class from the C++ class and override the virtual functions.
Unfortunately I have not found a sample that is simple enough and
demonstrates the technique to do so. I succeeded with just calling C++
class methods from C#, but the tricky point is being able to derive a
class and override the virtual functions. I'm sure there must be a way.
Can anybody help me?
Thanks in advance
Urs
PS: For direct e-mail contact, please remove leading 'ns_' and trailing
'_ns' from e-mail address.