wrote:
> MakeScopeNotifier(procedure begin SomeObject.MemberFunc(param1) end);
not that bad. I think I'll start to use that technique in new delphi projects when (if) we port to rs2010. I'm used to RAII and glad that delphi allows me to set resource release guard as one-liner
-- Vladimir Ulchenko aka vavan