http://www.cnblogs.com/GnagWang/archive/2010/03/26/1696576.html
CrtSetDbgFlag ( _CRTDBG_ALLOC_MEM_DF | _CRTDBG_LEAK_CHECK_DF );
http://www.cnblogs.com/GnagWang/archive/2010/03/26/1696576.html
CrtSetDbgFlag ( _CRTDBG_ALLOC_MEM_DF | _CRTDBG_LEAK_CHECK_DF );