Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Delphi-News aus aller Welt (https://www.delphipraxis.net/58-delphi-news-aus-aller-welt/)
-   -   Implementing Destructor for a Record (https://www.delphipraxis.net/183427-implementing-destructor-record.html)

DP News-Robot 8. Jan 2015 18:10

Implementing Destructor for a Record
 
Smart records in Object Pascal are very nice, but they have a stupid limitation – you cannot implement a destructor for a record. A solution for that is quite simple and can be found all over the internet – add an interface to this record and implement the cleanup in this interface. To make it even ...http://www.delphipraxis.net//feeds.f...~4/B5MzUsstOSo

More...


Alle Zeitangaben in WEZ +1. Es ist jetzt 18:39 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz