[Mono-devel-list] Callling convention for interop call-backs

Miguel de Icaza miguel at ximian.com
Wed Jan 21 14:48:15 EST 2004


Hello,

> In the MS version of C# it is possible to define a calling
> convention for PInvoking functions in an unmanaged Dll, but
> there is now way to specify a calling convention for the
> delegates used as call-backs. Well, there is an assembly-hack,
> but no easy way.
> 
> Is that the same for C# in Mono?

Yes, this a restriction of the C# language.  You have to do the same ugly hack.

Miguel



More information about the Mono-devel-list mailing list