Testing with unmodified code from the offered download, compiling with MSVS 2013, setting a breakpoint in:
[color=#0040BF]Explorerplusplus::~Explorerplusplus()
{
m_pDirMon->Release();
if(m_hDwmapi != NULL)
{
FreeLibrary(m_hDwmapi);
}
}[/color]
at the line: m_pDirMon->Release();
never triggers the break. For my personal code, I have added some things which need to be dealt with before the class deconstructs.