Patch accept-LPUNKNOWN for COM related Bug #50305
Patch version 2013-02-20 14:36 UTC
Return to Bug #50305 |
Download this patch
Patch Revisions:
Developer: user@kkdf2.sakura.ne.jp
diff --git a/ext/com_dotnet/com_variant.c b/ext/com_dotnet/com_variant.c
index e870561..72209b9 100644
--- a/ext/com_dotnet/com_variant.c
+++ b/ext/com_dotnet/com_variant.c
@@ -227,7 +227,7 @@ PHP_COM_DOTNET_API int php_com_zval_from_variant(zval *z, VARIANT *v, int codepa
php_com_wrap_dispatch(z, disp, codepage TSRMLS_CC);
IDispatch_Release(disp);
} else {
- ret = FAILURE;
+ php_com_wrap_variant(z, v, codepage TSRMLS_CC);
}
}
break;
|