From ab15cfce0b453acf070c6c3715036017971dd524 Mon Sep 17 00:00:00 2001 From: fcolin Date: Thu, 1 Feb 2007 13:13:13 +0000 Subject: Utilisateur : Fcolin Date : 7/06/04 Heure : 10:56 Archivé dans $/Bus/comIvy Commentaire: (vss 3) --- comIvy/Bus.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'comIvy') diff --git a/comIvy/Bus.cpp b/comIvy/Bus.cpp index 393406a..66f2f2c 100644 --- a/comIvy/Bus.cpp +++ b/comIvy/Bus.cpp @@ -95,9 +95,7 @@ STDMETHODIMP CBus::Bind(BSTR regexp, IExpression** binding) HRESULT hRes = CExpression::CreateInstance(binding); if ( hRes != S_OK ) return hRes; CExpression* bind = (CExpression*)*binding; - this->AddRef(); - bind->bus = this; - bind->id = bus->BindMsg( regexpstr, bind ); + bind->Bind( regexpstr, this ); delete regexpstr; return hRes; } -- cgit v1.1