A have declared external function:

[DllImport("X11")]
extern public static int XNextEvent(IntPtr display, out XEvent xevent);

XEvent is a structure, is declared too.

When I call this function generates the error message: "(process:2484) 
** ERROR **: file marshal.c line 783 (emit_struct_conv): assertion 
failed: (msize > 0 && usize > 0)"
This error occurs in execution time
I think that this error occurs when used the word "out" in function param.


Everaldo Canuto


_______________________________________________
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to