[DUG] Usage - initialization and finalization
Karl at Work
karlreynolds at xtra.co.nz
Fri May 19 17:31:03 NZST 2006
If you have a "singleton" object that needs to be used, directly or
indirectly, in the finalization of other units than the one in which it is
declared, what do people do to handle that object's cleanup? Do it using
interfaces and reference counting auto-cleanup, or is there a better way?
This is assuming that the finalization order of units is not determinate,
which it isn't so far as I know...
Cheers,
Carl
-------------- next part --------------
A non-text attachment was scrubbed...
Name: winmail.dat
Type: application/ms-tnef
Size: 1856 bytes
Desc: not available
Url : http://ns3.123.co.nz/pipermail/delphi/attachments/20060519/26b356aa/winmail.bin
More information about the Delphi
mailing list