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

Popular posts from this blog

django - How can I change user group without delete record -

java - Need to add SOAP security token -

java - EclipseLink JPA Object is not a known entity type -