Graeme Geldenhuys schrieb:
> On 30/11/2007, Florian Klaempfl <[EMAIL PROTECTED]> wrote:
>>> and the interface
>>> method resolution clauses would be useful too.
>> What this?
>>
>
>
> I think he means when a class implements a inferfaces and somewhere in
> the class hierarchy, there already exists a method with the same name.
> You can then map the Interfaces's methods to new names. Here is a
> quick example I copied from the net.
>
>
> TComObject = class(TObject, IUnknown, ISupportErrorInfo)
> protected
> { IUnknown }
> function IUnknown.QueryInterface = ObjQueryInterface;
> function IUnknown._AddRef = ObjAddRef;
> function IUnknown._Release = ObjRelease;
This works iirc too?
_______________________________________________
fpc-devel maillist - [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-devel