cvs: php4 /ext/rpc/com com_wrapper.c

From: Date: Thu, 27 Mar 2003 19:56:58 +0000
Subject: cvs: php4 /ext/rpc/com com_wrapper.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-19814@lists.php.net to get a copy of this message
phanto Thu Mar 27 14:56:58 2003 EDT Modified files: /php4/ext/rpc/com com_wrapper.c Log: MFB ext/com fix #22899 invoke is called twice Index: php4/ext/rpc/com/com_wrapper.c diff -u php4/ext/rpc/com/com_wrapper.c:1.91 php4/ext/rpc/com/com_wrapper.c:1.92 --- php4/ext/rpc/com/com_wrapper.c:1.91 Sat Feb 15 22:48:46 2003 +++ php4/ext/rpc/com/com_wrapper.c Thu Mar 27 14:56:58 2003 @@ -18,7 +18,7 @@ | Wez Furlong <wez@thebrainroom.com> | +----------------------------------------------------------------------+ */ -/* $Id: com_wrapper.c,v 1.91 2003/02/16 03:48:46 wez Exp $ */ +/* $Id: com_wrapper.c,v 1.92 2003/03/27 19:56:58 phanto Exp $ */ /* * This module implements support for COM components that support the IDispatch * interface. Both local (COM) and remote (DCOM) components can be accessed. @@ -89,7 +89,7 @@ if (C_HASTLIB(obj)) { hr = C_TYPEINFO_VT(obj)->Invoke(C_TYPEINFO(obj), C_DISPATCH(obj), dispIdMember, wFlags, pDispParams, pVarResult, &ExceptInfo, &ArgErr); - if (FAILED(hr)) { + if (FAILED(hr) && (hr != DISP_E_EXCEPTION)) { hr = C_DISPATCH_VT(obj)->Invoke(C_DISPATCH(obj), dispIdMember, &IID_NULL, LOCALE_SYSTEM_DEFAULT, wFlags, pDispParams, pVarResult, &ExceptInfo, &ArgErr); if (SUCCEEDED(hr)) {

« previous php.cvs (#19814) next »