Re: tracking down win32 GDI object leaks in GTK



Tor Lillqvist wrote:

Tim Evans writes:
> Does anyone have any experience finding and fixing this sort of bug? > This is causing problems in a product that we are supposed to be > shipping soon, so I need to fix this.

BoundsChecker
(http://www.compuware.com/products/devpartner/bounds.htm) is
supposedly good at tracking resource leaks. Don't know of any Free
ones.

Actually, I just found one attached to this article:
    http://msdn.microsoft.com/msdnmag/issues/03/01/GDILeaks/default.aspx

I downloaded and compiled GdiUsage.exe with VC6 and it showed by that there are bitmaps leaking and which bitmaps they are (attached). I can't see that I will have much trouble finding the leak now.

--
Tim Evans
Applied Research Associates NZ
http://www.aranz.com/

PNG image



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]