[Mono-list] Marshalling byte[]

Neale.Ferguson@SoftwareAG-USA.com Neale.Ferguson@SoftwareAG-USA.com
Wed, 27 Oct 2004 12:53:53 -0400


int scumbag(int *X, char *fb, char *rb ...)

(the int values were the for the marshalling code that uses the =
sizeparamindex value to determine the size of the byte arrays)

-----Original Message-----
You should not use ByValArray enumeration member on function arguments. =
MS.NET=20
SDK documentation says that ByValArray should be used only for structure =
members.

Are you passing byte arrays as in or out arguments?

What is the prototype of your C function?
1. int scumbag( int* X, char** fb, int lFb, ...)
2. int scumbag( int* X, char* fb, int lFb...)
3. int scumbag( int* X, char** fb, int* lFb...)