Registriert seit: 26. Mai 2004
3.159 Beiträge
|
AW: Globale Variable - Definition
15. Mai 2011, 05:43
@s.h.a.r.k: So ähnlich mach ich es auch. Aber sollte nicht der Destruktor auch privat sein?
So weit ich weiß geht das nicht. Hatte da schon viel probiert. Aber so ein richtiges Singleton Pattern kann Delphi leider nicht.
»Remember, the future maintainer is the person you should be writing code for, not the compiler.« (Nick Hodges)
|