INTEGRATION: CWS networker3 (1.7.220); FILE MERGED

2004/05/13 11:33:46 mav 1.7.220.1: #116132# close the frame
This commit is contained in:
Kurt Zenker 2004-06-11 17:23:15 +00:00
parent a6e3ea47a2
commit 825bcbdbe3

View file

@ -169,7 +169,12 @@ HRESULT CSOActiveX::Cleanup()
if( mpDispFrame )
{
// mpDispFrame->dispose();
ExecuteFunc( mpDispFrame, L"dispose", NULL, 0, &dummyResult );
CComVariant aPropVar;
aPropVar.vt = VT_BOOL; aPropVar.boolVal = VARIANT_TRUE;
if ( !SUCCEEDED( ExecuteFunc( mpDispFrame, L"close", &aPropVar, 1, &dummyResult ) ) )
ExecuteFunc( mpDispFrame, L"dispose", NULL, 0, &dummyResult );
mpDispFrame = CComPtr< IDispatch >();
}