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:
parent
a6e3ea47a2
commit
825bcbdbe3
1 changed files with 6 additions and 1 deletions
|
@ -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 >();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue