@spazzarama, Yeah possibly. But actually ... To go from fastcall to stdcall, as far as I can tell, wouldn't it just be a matter of pushing EDX and ECX? The other parameters are already on the stack, we just need EDX and ECX there as well. They both return through EAX obviously. I'll try and look into it. Maybe I can at least make a solution that works for my case.