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

job syspolicy_purge_history job fail in sqlserver 2008

Trying to register with public marketplace error with 'Get-AzureStackStampInformation'