Page 1 of 1

Resource Leak

Posted: 19 Nov 2013, 22:03
by baron
Hello again,

When setting the MouseIcon, the label control doesn't release the GDI/User resources after it closes. The fact that it takes up a bunch of resources is not the main issue (although fewer resources would be nice too) - it's that it doesn't release them.

Attached is a simple sample. Click on the button to open a new window, and then close it again while watching the User/GDI.

Re: Resource Leak

Posted: 22 Nov 2013, 00:01
by TiKu
Hi,

thanks for reporting. I think I've found and fixed the problem, hopefully without introducing new problems.

www.timosoft-software.de/stuff/lblctls10677-rel.zip
www.timosoft-software.de/stuff/LblCtls10677-Release.exe

Regards
TiKu

Re: Resource Leak

Posted: 24 Nov 2013, 12:31
by baron
Thank you again!

Looks great so far on tests, doesn't even take resources on load.