> When I stop debugging there is info about memory leaks but I'm
> sure that every wrappers deletes unmanaged objects in finalizers. So
> maybe the finalizers aren't called?
As a design suggestion: You should normally not use Finalizers!
Please use the IDisposable Interface/Pattern.
> Is there a tool which could show me
> leaked objects in mixed mode application? Raional Purify Plus can't
> check it.
You can try my LeakFinder: http://www.codeproject.com/tools/leakfinder.asp
It will only show you unmanaged CRT-Leaks.

Signature
Greetings
Jochen
Do you need a memory-leak finder ?
http://www.codeproject.com/tools/leakfinder.asp
Do you need daily reports from your server ?
http://sourceforge.net/projects/srvreport/
mircu - 28 May 2004 13:40 GMT
> As a design suggestion: You should normally not use Finalizers!
> Please use the IDisposable Interface/Pattern.
When I started coding I followed the guide MS "Managed Extensions for
C++ Migration Guide" and there were deleting objects in destructors
(finalizers). When I'll be little less busy I'll apply Dispose pattern.
> You can try my LeakFinder: http://www.codeproject.com/tools/leakfinder.asp
> It will only show you unmanaged CRT-Leaks.
Thanks! It found some leaks but why there are I don't know. Could they
be reported because the memory leak checker is called before garbage
collector thread finishes?
Regards,
mircu