Hi,

As codeplug says, the easiest thing to do, is start up Task Manager and set it to display GDI Objects, then you can see if you are leaking any. I just did that a few days ago, and found I was, so downloaded a utility from Software Verification Limited, at www.softwareverify.com, called Memory Validator. It keeps track of where GDI objects are created, then lets you know if they aren't destroyed. If you run it on a debug version of the app, you'll get a listing and line-number for the offending CreateObject.

It comes with a 30 day free trial, so if you work fast you may not need to buy it...

Cheers,
Alan