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

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

Popular posts from this blog

Azure DocumentDB Owner resource does not exist

RFC_ERROR_SYSTEM_FAILURE with SAP ECC 6 Unicode

C# System.Data.Common DbCommand and getting Datasets from Oracle