Bug #16375 Updated: Feature: Support for VARIANT multi dimensional arrays

From: Date: Wed, 17 Jul 2002 22:50:20 +0000
Subject: Bug #16375 Updated: Feature: Support for VARIANT multi dimensional arrays
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-14471@lists.php.net to get a copy of this message
ID: 16375 Updated by: phanto@php.net Reported By: jbendixsen@shaw.ca -Status: Open +Status: Suspended Bug Type: COM related Operating System: Windows 2000 PHP Version: 4.1.2 New Comment: is on the todo list for the new ext/rpc/com extension coming with ZE2 Previous Comments: ------------------------------------------------------------------------ [2002-04-01 11:04:30] jbendixsen@shaw.ca I am trying to interface with a Vendors COM object. A particular function that I need to use takes two 2 dimensional variant arrays variant array, one ByVal and the other ByRef. The FAQ on COM says its not supported yet. $PSearchCriteria[0][0] = "CLIENT_ID"; $PSearchCriteria[1][0] = "ACME"; //Passed ByVal $SearchCriteria = new Variant($PSearchCriteria, VT_ARRAY); $PResult = array(); //Passed ByRef $Result = new Variant($PResult, VT_ARRAY | VT_BYREF); $MaxDocs = 100; $res = $synweb->SearchLike($SearchCriteria, $Result, $MaxDocs); <- Line 19 If I try to do this I get: Warning: Invoke() failed: No description available in c:\apache\htdocs\microdea.php on line 19 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=16375&edit=1

« previous php.bugs (#14471) next »