"Ann&Jason" == Ann and Jason Edmeades us@the-edmeades.demon.co.uk writes:
Ann&Jason> OK, i'll take a look at adding __reg stubs if this is the Ann&Jason> preferred method.
>> don't forget also that register functions return their result in context-> Eax...
Ann&Jason> so should for example: exception * Ann&Jason> MSVCRT_exception_opequals(const exception * rhs, CONTEXT86* Ann&Jason> context) { : return _this; }
Ann&Jason> Be void MSVCRT_exception_opequals(const exception * rhs, Ann&Jason> CONTEXT86* context) { : context-> Eax = (DWORD)_this; Ann&Jason> } ?
Ann&Jason> I assume the caller will look in the context structure passed Ann&Jason> in for the return val?
On return the context structure is unpacked and the context-> Eax value is put in EAX. EAX is where the program expects it's rerurn value.
Bye