Dear Herfried,
Is it possible to delete object explicitely?
after findning a hard to find memory leak in my app, I really think that
managed programming is not more productive as unmanaged.
Futhermore in unmanaged code where I must delete all object expicitely there
are tools, which can check if I lost some objects and software will in any
case crash if you refer to deleted object. Where in managed code, I
accedentaly had somewhere one more pointer insead of weak referense to the
object, which was supposed to be dead. Fuhermore tools can only show you
number of objects. But if you have 300 new objects and 299 deleted (after
each new snapshoot 1 object is added) you have no chance to trace down which
objects is incorrect one, and why it was not deleted.
IMHO it is absolutely not easier to think which pointer you need (weak or
strong) and where you have all strong pointers than explicitely delete
object.
Is there some recommendadtions or comments about this?
Thanks a lot,
Boni
Where in managed code If I have a reference to the obje