#16375 [Sus->Asn]: Feature: Support for VARIANT multi dimensional arrays
| From: | sniper@php.net | Date: | Tue, 18 Nov 2003 03:36:05 +0000 |
| Subject: | #16375 [Sus->Asn]: Feature: Support for VARIANT multi dimensional arrays | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-50583@lists.php.net to get a copy of this message | ||
ID: 16375
Updated by: sniper@php.net
Reported By: jbendixsen at shaw dot ca
-Status: Suspended
+Status: Assigned
Bug Type: COM related
Operating System: Windows 2000
-PHP Version: 4.1.2
+PHP Version: 5CVS
-Assigned To:
+Assigned To: wez
New Comment:
Wez, check this out..
Previous Comments:
------------------------------------------------------------------------
[2002-04-01 11:04:30] jbendixsen at shaw dot 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