Professional UI Solutions
Site Map   /  Register
 
 

Forum

Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS General Discussion » Resource leaks? Collapse All
Subject Author Date
Jonas Gauffin Nov 30, 2005 - 4:20 AM

My app is increasing a lot in GDI objects and USER object. They are increased every other second without any user interaction.
Going with the mouse over the main menu increases GDI objects with about 100.

This sounds like a resource leak to me. What do you think? How can I track this error down?

The app is very simple: http://www.gauffin.org/app.png

I’m using a virtual list view for the listview handling, everything else is pretty standard.

Jonas Gauffin Dec 1, 2005 - 12:55 AM

Pain in the ass to find, but I found it. I have an icon in the statusbar and I reloaded the icon with LoadImage everytime it got redrawn without deleting the last icon.