Vote UpVote

Delphi – Using FastMM4 part 2: TDataModule descendants exposing interfaces, or the introduction of a TInterfacedDataModule

The Wiert Corner – One of the larger projects I’ve becoming involved in, uses a pattern that uses TDataModule descendants exposing interfaces. Interfaces in Delphi are nice: if used properly, you have reference counting that will automatically free the underlying objects if there are no references left to them. When you do not do interfaces in Delphi properly, you are bound to have a lot of memory leaks, and this is one of the cases where we did. The client choose to do testing and QA very late in the product cycle, and we choose to use FastMM to do memory debugging. Lo and behold: a truckload of memory ...
Favorite? Off-Topic? jpluimers @ 2009-08-10 16:03


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

Visits by Source

User Actions

Users who voted for this posting

Charles Ardour
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)