[Mono-list] p/invoke and arrays

Michael Wild themiwi at gmail.com
Wed Mar 1 17:50:47 EST 2006


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!

thanks

michael


More information about the Mono-list mailing list