wez             Mon Aug  2 14:02:48 2004 EDT

  Modified files:              
    /php-src/ext/com_dotnet     com_dotnet.c 
  Log:
  Better error reporting
  
  
http://cvs.php.net/diff.php/php-src/ext/com_dotnet/com_dotnet.c?r1=1.7&r2=1.8&ty=u
Index: php-src/ext/com_dotnet/com_dotnet.c
diff -u php-src/ext/com_dotnet/com_dotnet.c:1.7 php-src/ext/com_dotnet/com_dotnet.c:1.8
--- php-src/ext/com_dotnet/com_dotnet.c:1.7     Wed Jun 16 19:57:25 2004
+++ php-src/ext/com_dotnet/com_dotnet.c Mon Aug  2 14:02:48 2004
@@ -16,7 +16,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: com_dotnet.c,v 1.7 2004/06/16 23:57:25 abies Exp $ */
+/* $Id: com_dotnet.c,v 1.8 2004/08/02 18:02:48 wez Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -152,7 +152,8 @@
                                SUCCEEDED(IUnknown_QueryInterface(V_UNKNOWN(&retval), 
&IID_IObjectHandle, &handle))) {
                        VARIANT unwrapped;
 
-                       if (SUCCEEDED(IObjectHandle_Unwrap(handle, &unwrapped))) {
+                       hr = IObjectHandle_Unwrap(handle, &unwrapped);
+                       if (SUCCEEDED(hr)) {
                                /* unwrapped is now the dispatch pointer we want */
                                V_DISPATCH(&obj->v) = V_DISPATCH(&unwrapped);
                                V_VT(&obj->v) = VT_DISPATCH;

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to