|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Marshalling c++ structs in a Variant ArrayI'm using interop between .Net and C++ (COM) and am attempting to retrieve an
array of structs from the COM server. I realise that having VT_RECORD type data in variants is not supported. Is the only way to accessing these types of returns via custom marshalling? A book that I am reading (printed 2002) states that this is so, and I will in fact have to modify the IL to get this to work. Is this still true for .Net 2.0? Or is there a newer simpler method (I hope!)? Thanks for all/any info. Sean |
|||||||||||||||||||||||