diff options
| author | Wez Furlong <wez@php.net> | 2005-04-19 06:14:56 +0000 |
|---|---|---|
| committer | Wez Furlong <wez@php.net> | 2005-04-19 06:14:56 +0000 |
| commit | 70137887112c7916412017b5e750fc3f49ef5020 (patch) | |
| tree | 9444d455a9f516ad98bdda116b042598a59deab8 /ext/com_dotnet/com_com.c | |
| parent | e211d4e3ae176458b61a2af86174f398501bc141 (diff) | |
| download | php-git-70137887112c7916412017b5e750fc3f49ef5020.tar.gz | |
merge from branch: fixes for #32758 and #32759
Diffstat (limited to 'ext/com_dotnet/com_com.c')
| -rw-r--r-- | ext/com_dotnet/com_com.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/com_dotnet/com_com.c b/ext/com_dotnet/com_com.c index 39c90eae1f..25a5c73e51 100644 --- a/ext/com_dotnet/com_com.c +++ b/ext/com_dotnet/com_com.c @@ -398,7 +398,7 @@ HRESULT php_com_invoke_helper(php_com_dotnet_object *obj, DISPID id_member, default: desc = php_win_err(hr); - spprintf(&msg, 0, "Error %s", desc); + spprintf(&msg, 0, "Error [0x%08x] %s", hr, desc); LocalFree(desc); break; } @@ -620,7 +620,7 @@ int php_com_do_invoke_by_id(php_com_dotnet_object *obj, DISPID dispid, efree(vargs); } - /* a bit strange this, but... */ + /* a bit of a hack this, but it's needed for COM array access. */ if (hr == DISP_E_BADPARAMCOUNT) return hr; |
