> Glad it helped. As with most of that kind of code, I always intend to
> go back and clean it up -- and never seem to get to it... I started
> out with the MFC classes, sort of, and added in the file loading and
> GDI+ code. Also, there's some funny business going on with the ATL
> thunks I use so that the leak checking isn't quite so misleading when
> you're attempting to use
> (spoof) weak references. For that to work correctly, you'll need my
> modified ATL headers but it won't hurt anything if you don't (the leak
> checks just won't be right). This, of course, only applies to
> _ATL_DEBUG_INTERFACES being defined.
> Let me know if you need this enabled and I'll email the hacked headers
> privately.

No, thanks.  I only use _ATL_DEBUG_INTERFACES when there's actually
something wrong with my ref counts (since it spoils the usual program's
debug output so badly), and that doesn't happen often.  Anyway I will try to
stick it up in my mind, in case I need to use _ATL_DEBUG_INTERFACES
someday...

Thanks again for the code!
-------------
Ehsan Akhgari

Farda Technology (www.farda-tech.com)

List Owner: [EMAIL PROTECTED]

[ Email: [EMAIL PROTECTED] ]
[ WWW: http://www.beginthread.com/Ehsan ]

But the thought is one thing, the deed another, and the idea of the deed
still another. The wheel of causality does not roll between them.
-Thus Spoke Zarathustra, F. W. Nietzsche





Reply via email to