Wrapping around stdcall

Frank Richter frank.richter at gmail.com
Tue Jul 5 18:13:25 CDT 2005


On 06.07.2005 00:54, Maarten Lankhorst wrote:
> But I still
> wonder what I have to do to call a 'thiscall' function, since I probably
> need it in ITextHost.

Probably more assembly ;)

'Thiscall' expects 'this' in ecx, so perhaps create an stdcall wrapper
function that contains some assembly to pop the first argument (ie this)
off the stack, load it into ecx and call the 'thiscall' method...

-f.r.




More information about the wine-devel mailing list