If I wanted to DllImport a function that accepted a va_list parameter
(function gnome_program_initv, in this case), how would I express that
parameter in C#? The only comparable construct in C# would seem to be
object[], but I'm not sure if that provides enough information for the
runtime to marshal everything correctly.

Alternately, does DllImport support marshalling varargs functions
directly? (so I could use gnome_program_init instead of
gnome_program_initv). Either one would work for my purposes.

Thanks,
Rachel




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

Reply via email to