dnsi0 I post too much
Reputation: 0
Joined: 04 Jan 2007 Posts: 2674
|
Posted: Sat May 16, 2009 2:48 pm Post subject: [Help] Delphi Class Destruction Detector |
|
|
Is there a way to detect whether a class is destroyed or not?
What I have made is using try/except and then accessing a member. If it can't access, then the class is destroyed, else its active. Is there a more efficient method?
|
|