TObject *does* support interfaces, it simply doesn't *implement* any. I guess what you mean is, when will TObject implement IUnknown and I think the answer to that is a question: "Why would it?".
TInterfacedObject is a TObject specialisation that implements IUnknown, so if you need a TObject class that can implement interfaces, just derive from TInterfacedObject instead. It does "exactly what it says on the tin". :) Then if you want a TObject derived class that *doesn't* implement any interfaces (e.g. because it's lifetime is explicitly or more complexly managed, eg. In a object pool/caching framework), or to which you wish to add an IUnknown implementation that doesn't implement reference counted lifetime management, for example, then you can still do that in exactly the same way that TInterfacedObject does, but providing your own AddRef() and Release() implementation. If TObject implemented IUnknown then *every* class would inherit that implementation, whether it was appropriate to any specific class or not. As it is, we can - if we wish - derive classes with interface support that do not implement non-reference counted lifetime management (I have my own TObject derived class which does this and provides a base class for all such classes that I need, in the same way that TInterfacedObject provides the base class for all reference counted classes that implement interfaces). Personally I'm grateful for the choice. :) -- "Smile", they said. "it could be worse!" So I did. And it was. -----Original Message----- From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] On Behalf Of Todd Martin Sent: Wednesday, 17 June 2009 12:54 To: NZ Borland Developers Group - Delphi List Subject: Re: [DUG] Embarcadero article What I want to know is, when are Embarcadero going to support interfaces on TObject? Todd. > Personally I don't care much about 64 bit. Cross platform would be > nice, but realistically we have 1 or 2 inquiries out of hundreds > regarding support for mac or linux - no one has ever asked me about when > we are going to support 64 bit. What I want to see in future versions > of Delphi is stuff that increases my productivity. > > Alister Christie > Computers for People > Ph: 04 471 1849 Fax: 04 471 1266 > http://www.salespartner.co.nz > PO Box 13085 > Johnsonville > Wellington > > > > Malcolm Groves wrote: >> Hi Jolyon, >> >> As I said, we'll continue to listen and course correct. Feedback we're getting from customers and potential customers worldwide is that cross platform is a higher priority. I don't deny that there are people who desperately want 64 bit, I know people in that boat around Asia. Perhaps those who want cross platform more haven't taken the time to vote on your poll. The ratio of responses on this list has also been interesting. >> >> I am genuinely sorry that we can't get them both out earlier, and I sincerely hope this decision doesn't make it impossible for you to use Delphi. Ultimately though, all we can do is gather as much data as possible make the best decision we can, and then adjust as we go. That's what we're doing. >> >> Cheers >> Malcolm >> >> CONFIDENTIALITY NOTICE: This email message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message. >> >> >> _______________________________________________ >> NZ Borland Developers Group - Delphi mailing list >> Post: delphi@delphi.org.nz >> Admin: http://delphi.org.nz/mailman/listinfo/delphi >> Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: unsubscribe >> >> > _______________________________________________ > NZ Borland Developers Group - Delphi mailing list > Post: delphi@delphi.org.nz > Admin: http://delphi.org.nz/mailman/listinfo/delphi > Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: unsubscribe > _______________________________________________ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: unsubscribe _______________________________________________ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: unsubscribe