I have a COM object that i wrote a few years ago in delphi which requires a variant array to be passed in and a variant array to receive the results. VB.net now does not support the type Variant, for which i have tried to declare an array of type object, but the COM object rejects this saying Exception Details: System.Runtime.InteropServices.COMException: Variant is not an array
Is there anyway round this using vb.net or c#.net? as i dont want to have to re-write the com server as it is highly complicated. Many thanks in advance.....
|