[Mono-list] Passing class to c-function

Dominik Fretz lists@roboto.ch
Mon, 24 Mar 2003 11:15:25 +0100


dietmar wrote:

>I never tried it, but I guess PInvoke should handle that without
>problems. Just set LayoutKind.Sequential on the class and you can pass
>it like a struct to native code.
>
>- Dietmar
>

Hi

I have to look at the code again this evening and probably try to put an 
example together.
We have tried the LayoutKind.Sequential Attribute, but it seams not to work.

Regards

Dominik