interop - How to marshall pointer to array in C# -
i have c++ method int** argument pointer int array.
how can marshall c#?
you can try inspiration method signature:
void mymethod([marshalas(unmanagedtype.lparray, sizeconst=10)] int[] ar);
(the array 10 in length)
Comments
Post a Comment