Re: How to patch overload function/method?
- From: "Andreas Hausladen" <AndreasDOTHausladen@xxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 31 Dec 2007 10:34:03 +0100
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
.
- Follow-Ups:
- Re: How to patch overload function/method?
- From: Chau Chee Yang
- Re: How to patch overload function/method?
- References:
- How to patch overload function/method?
- From: Chau Chee Yang
- Re: How to patch overload function/method?
- From: Florent Ouchet
- How to patch overload function/method?
- Prev by Date: Re: How to patch overload function/method?
- Next by Date: Re: How to patch overload function/method?
- Previous by thread: Re: How to patch overload function/method?
- Next by thread: Re: How to patch overload function/method?
- Index(es):