Interop and VT_VARIANT

  • Thread starter Thread starter Steven Price
  • Start date Start date
S

Steven Price

Hi

Is there a way to access a C++ dll function that returns an array of
variants in C#, it does not take any other parameters. In VB I would declare
it as returning a variant but I cannot see how to do this in C#. The
documentation I have seen say VT_VARIANT are not supported !

Any help appreciated

Steve
 
I agree about variants but this is a legacy dll that we have no control
over. Did try setting the return type as object but
get an error message.

Steve
 
Back
Top