[Mono-dev] thiscall calling convention

Argiris Kirtzidis akyrtzi at gmail.com
Thu Jan 11 08:40:41 EST 2007


----- Original Message ----- 
From: "Paolo Molaro" <lupus at ximian.com>
To: <mono-devel-list at lists.ximian.com>
Sent: Thursday, January 11, 2007 2:27 AM
Subject: Re: [Mono-dev] thiscall calling convention


> On 01/10/07 Argiris Kirtzidis wrote:
>> Are there plans to implement the 'thiscall' calling convention (first
>> parameter on ECX, the rest on stack) in Mono (for interop, P/Invoke,
>> etc with native windows libraries) ?
>
> We may eventually support it, but it's not a priority for us.

Is the patch that I've posted 
(http://lists.ximian.com/pipermail/mono-devel-list/2007-January/022036.html) 
going to be considered ?
It's unintrusive, only a bit of stack manipulation before the calls and at 
the start of the method's prologue.

I'm trying to bring the C++ interop features of the C++/CLI compiler to 
mono, but it won't work for Visual C++ libraries without this fix.


Argiris 




More information about the Mono-devel-list mailing list