Re: How to patch overload function/method?



And if you do not want to patch a method but a procedure/function you
can use this very similar technique.

type
TStrToInt64Func = function(const S: string): Int64;
const
AMyFunc: TStrToInt64Func = StrToInt;
begin
"PatchMethod"(@AMyFunc);
end;



--
Regards,

Andreas Hausladen
.