我的程序在Destroy 某个窗口时,出现异常
底下我是追踪到地方,两行星号之间的地方就是出错的地方,不知道这种情况一般是由什么引起的,多谢!#ifdef _AFX_NO_OCC_SUPPORT
BOOL bResult = ::DestroyWindow(m_hWnd);
#else //_AFX_NO_OCC_SUPPORT
BOOL bResult;
*************************
if (m_pCtrlSite == NULL)
bResult = ::DestroyWindow(m_hWnd);
*************************
else
bResult = m_pCtrlSite->DestroyControl();
#endif //_AFX_NO_OCC_SUPPORT
底下我是追踪到地方,两行星号之间的地方就是出错的地方,不知道这种情况一般是由什么引起的,多谢!#ifdef _AFX_NO_OCC_SUPPORT
BOOL bResult = ::DestroyWindow(m_hWnd);
#else //_AFX_NO_OCC_SUPPORT
BOOL bResult;
*************************
if (m_pCtrlSite == NULL)
bResult = ::DestroyWindow(m_hWnd);
*************************
else
bResult = m_pCtrlSite->DestroyControl();
#endif //_AFX_NO_OCC_SUPPORT
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货