Michael Wild wrote:
hi
i'm just entering the lands of p/invoke and have been reading some
tutorials. however, what i couldn't find, is how to pass arrays to
c-functions which take a pointer to the first element in contiguous
memory (like: void fun( int *a );, or: void fun( int a[] ); ).
any help or pointer to some doc would be welcome!
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconmarshalingdatawithplatforminvoke.asp
See "Marshaling Arrays of Types".
Robert
_______________________________________________
Mono-list maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list