I know memory leaks from allocations through malloc or new are cleaned up when a process exits as are file handles. But the question is are things like the HBITMAP / HICON handles loaded with LoadImage closed as well (not using LR_SHARED).
Reason I ask is because when I run deleaker on a MFC app using BCGControlBarPro it always find several leaks of Atom's, Event Handles and a HICON/HCURSOR type. Most from MFC and some from BCDControlBarPro. For example the HCURSOR leak is from load image in CBCGPGlobalUtils::GetStretchCursor(). They are initialized one time so it looks like they presume that it does close them, I just want to be sure because I thought resources were different?
TIA!!