Barry Kelly (who btw, looks nothing like his photo in real life) has made a nice post about how to have "managed" pointers in Delphi Win32. This makes dependency injection so much more easier, not having to worry about freeing objects. The only thing lacking is an IoC Container now!
Dependency Injection in Delphi Win32
02 Sunday Nov 2008
Posted in Uncategorized
You can have a look at this one : http://www.delphi-online.at/projects/ddioc/index.php
AoP can help too : http://code.google.com/p/meaop/