<div class="gmail_quote">On Thu, Apr 7, 2011 at 5:30 AM, Michael Stefaniuc <span dir="ltr">&lt;<a href="mailto:mstefani@redhat.de">mstefani@redhat.de</a>&gt;</span> wrote:</div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

The COM methods are already __stdcall.<br>
---<br>
 dlls/riched20/txthost.c |  128 ++++++++++++++--------------------------------<br>
 1 files changed, 39 insertions(+), 89 deletions(-)<br><br></blockquote><div>COM methods are supposed to use the stdcall calling convention, but the native riched20 and the native headers just defines ITextHost and ITextServices to be a c++ class (i.e. using the thiscall calling convention).  Just look at the native TextServ.h header.</div>

</div>