By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,190 Members | 979 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,190 IT Pros & Developers. It's quick & easy.

GDI objects and memory leaks

P: n/a
Apologies if this is the wrong group.

How does one go about stopping memory leaks? I'm using XP with VS 7.1 (C++
standard). The app I have uses a dialog box as it's gui. Using Task Manager,
I notice the GDI objects count getting higher and higher everytime I close
and re-open the dialog box. Is this normal? I've gone through the code and
made sure I've deleted objects but the count keeps getting higher. Is there
software that would tell me what the objects are? Or is there another way?
Dec 14 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
On Wed, 14 Dec 2005 22:24:02 -0000, "Lindsay" <me@home.com> wrote:
Apologies if this is the wrong group.
It is.
How does one go about stopping memory leaks? I'm using XP with VS 7.1 (C++
standard). The app I have uses a dialog box as it's gui. Using Task Manager,
I notice the GDI objects count getting higher and higher everytime I close
and re-open the dialog box. Is this normal? I've gone through the code and
made sure I've deleted objects but the count keeps getting higher. Is there
software that would tell me what the objects are? Or is there another way?


Try asking in:
microsoft.public.win32.programmer.gdi
-or-
microsoft.public.platformsdk.gdi.

Sounds like you are leaking resources, rather than memory.

--
Bob Hairgrove
No**********@Home.com
Dec 14 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.