2
votes
Vote UpVote

Conditionally using FastMM avoiding IFDEFs in the DPR

The Art of Delphi Programming – This a follow up of my previous post Conditional Uses Clause Considered Harmful, showing another real world use case of the technique described there. Let’s assume we want to use FastMM with Full Debug Mode in a project to track down some errors in DEBUG mode. This requires us to include the FastMM4 unit as the first entry in the uses clause of the project DPR. Now let’s also assume, we don’t want to use that FastMM unit in the RELEASE configuration – and – NO! – we don’t want to use an IFDEF inside the DPR, as the IDE tends to mess up with such things ...
Favorite? Off-Topic? Uwe Raabe @ 2016-12-14 16:06

Statistics

Visits: 1951
Votes: 2
Favorites: 0
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

Alister Christie
Primoz Gabrijelcic
Subscribe:
Contact us to advertise on DelphiFeeds.com

Community Links

Torry Firebird News

Sponsor

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