marshalling abstract base type pointer
i'm wrapping unmanaged class libraries has several class hierarchies. 1 of class returns pointer abstract base type.
in c++, safe, since can cast without worrying.
how marshal corresponding managed abstract type?
lee crabtree
in c++, safe, since can cast without worrying.
how marshal corresponding managed abstract type?
lee crabtree
you need instance of managed abstract type, contradicts have instantiate derived class of abstract class instead. if abstract class has multiple derived classes have determine 1 instantiate.
when have managed instance derived abstract class should able marshal data pointer unmanaged abstract class.
.NET Framework > Common Language Runtime Internals and Architecture
Comments
Post a Comment