GDI objects and memory leaks

L

Lindsay

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?
 
B

Bob Hairgrove

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top