Reply to thread

I am trying to interop a COM interface and am not sure what I need to change the argument to.  Any COM to C# wizards able to answer this:


(long * pArray) - which is an array of integers.


I've tried:


(ref int pArray)

(ref Int32 pArray)

(ref Int64 pArray)

(int pArray)

([Out, MarshalAs(UnmanagedType.LPArray)] out int [] pArray)


Top Bottom