GDI Resource Leaks

  • Thread starter Kantha Kanchiraju
  • Start date
K

Kantha Kanchiraju

Hi,

I am writing an Appliction using Word 10(Office Xp) on
Windows 2000. My application Opens and Closes Word each
time. We observed that when ever I Open and Close Word it
leaks two GDI Brushes. Since Windows has a limitation on
the total number of GDI Resources that can be created at a
time to 16k. So after like 7000 times of Opening and
Closing word, with out doing anything else, the system is
running out of GDI resources and making the system
unstable.
I dont see any resource leaks when i run Office Xp on
Windows NT.

It would be great help if some one could give some insight
into this.

thanks
Kantha Kanchiraju
 

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

Top