monkeycn 发表于 2013-2-4 22:23:54

使用vc 2008 的bcg 控件有内存泄露

使用vc 2008 的bcg 控件有内存泄露:

{759} client block at 0x0209DAC8, subtype c0, 200 bytes long.
a CMFCVisualManager object at $0209DAC8, 200 bytes long
Object dump complete.
程序“ facebook_dlg.exe: 本机”已退出,返回值为 2 (0x2)。

在退出前调用
if( CMFCVisualManager::GetInstance () != NULL )
      delete CMFCVisualManager::GetInstance();
解决了
页: [1]
查看完整版本: 使用vc 2008 的bcg 控件有内存泄露