Doubt regarding DeleteObject
-
Hi all, I have a doubt reagrading DeleteObject(). I created 25 solid brushes in a function and deleted all the brushes in other function. Before creating the brush the GDIObject count was 18 (as per task manager). After Creating 25 brushes the count was 43. Now even after deleting 25 brushes the GDI object count was still 32 instead of 18. Anybody plz tell me the reason.. Plz suggest any good GDI leak tester.
-
Hi all, I have a doubt reagrading DeleteObject(). I created 25 solid brushes in a function and deleted all the brushes in other function. Before creating the brush the GDIObject count was 18 (as per task manager). After Creating 25 brushes the count was 43. Now even after deleting 25 brushes the GDI object count was still 32 instead of 18. Anybody plz tell me the reason.. Plz suggest any good GDI leak tester.