![]() |
In Delphi, avoid having a TComponent descendant implement interfaces, unless you are
Every now and then I see code, where a class descending from TComponent*implements some interfaces, only interface references are used to the instances, and the expected behaviour is that the instances will free themselves when all the references went out of scope. Bummer: TComponent*by default is not reference counted. It is when you assign VCLComObject*an […]
![]() |
Alle Zeitangaben in WEZ +1. Es ist jetzt 11:08 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz