[Mono-devel-list] Callling convention for interop call-backs
Miguel de Icaza
miguel at ximian.com
Wed Jan 21 14:48:15 EST 2004
> 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.
More information about the Mono-devel-list