Merrion
Well-known member
How do I pass a variable length array of short values to an API call? I have tried
<MarshalAs(UnmanagedTypes.LPArray)>pFields() As Short
but it generates a loadlibrary exception...
Any ideas?
Thanks in advance,
Duncan
<MarshalAs(UnmanagedTypes.LPArray)>pFields() As Short
but it generates a loadlibrary exception...
Any ideas?
Thanks in advance,
Duncan