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

How do you change vbulletin's home page to the forums instead of the default (CMS or Activity Stream)? -

c++ - Troubles when compiling phash program -