In Delphi is it possible to bind an interface to an object that doesn't implement it
问题 I know Delphi XE2 has the new TVirtualInterface for creating implementations of an interface at runtime. Unfortunately I am not using XE2 and I'm wondering what kind of hackery is involved in doing this sort of thing in older versions of Delphi. Lets say I have the following interface: IMyInterface = interface ['{8A827997-0058-4756-B02D-8DCDD32B7607}'] procedure Go; end; Is it possible to bind to this interface at runtime without the help of the compiler? TMyClass = class(TObject, IInterface)