3

I have c++ method with int** argument which is pointer to int array.

How can I marshall it to C#?

sloth
  • 99,095
  • 21
  • 171
  • 219
Redwan
  • 738
  • 9
  • 28

1 Answers1

-1

You can try to get inspiration from this method signature:

void MyMethod([MarshalAs(UnmanagedType.LPArray, SizeConst=10)] int[] ar);

(The array is 10 in length)

Gabriel Hautclocq
  • 3,230
  • 2
  • 26
  • 31