I have a problem with a memory leak that seems to be originating in the foundation classes. I am using MFC 2.0 that comes with VC++ 1.0. From what I can tell the temporary objects allocated by the CDC::FromHandle and CGdiObject::FromHandle functions are not being deleted. In the MFC source…