Vote UpVote

Implementing Destructor for a Record

The Delphi Geek – 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 simpler, you can use the IGpAutoExecute interface from the completely free GpStuff unit. Read more »--- Published under the Creative Commons Attribution 3.0 license
Favorite? Off-Topic? gabr @ 2015-01-08 18:38


Visits: 971
Votes: 4
Favorites: 0
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

Alister Christie
Edwin | Dev of LIVEditor
Stefan Glienke
Contact us to advertise on DelphiFeeds.com

Community Links

Torry Firebird News


Please login or register to use this functionality.
(click on this box to dismiss)