Hi David,
you can use this with other baseclasses too. Just add a Release()-method containing a RELEASE THIS if called directly - and you are able to destroy all references of this object with Object.Release(). Except there were 2 of them stored to a collection :-/.
I worked around this using an extra collection object containing the "real" item as item of the original collection. So each placeholder-collection in the original collection only contains one reference. If there are two placeholders with the same reference and different keys it is no problem anymore because the references are stored in different collections and seem to be released correctly. I had to modify Add(), Item() and Count_access to achieve transparent behavior. But it works now. Lets see how reliable :-).
Regards
Matthias
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only