#16375 [Asn->Csd]: COM: Feature: Support for VARIANT multi dimensional arrays
| From: | wez@php.net | Date: | Mon, 20 Sep 2004 10:34:22 +0000 |
| Subject: | #16375 [Asn->Csd]: COM: Feature: Support for VARIANT multi dimensional arrays | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-66442@lists.php.net to get a copy of this message | ||
ID: 16375
Updated by: wez@php.net
Reported By: jbendixsen at shaw dot ca
-Status: Assigned
+Status: Closed
Bug Type: Feature/Change Request
Operating System: Windows 2000
PHP Version: 5CVS
Assigned To: wez
New Comment:
Was implemented ready for PHP 5.0.0
Previous Comments:
------------------------------------------------------------------------
[2003-11-17 22:36:04] sniper@php.net
Wez, check this out..
------------------------------------------------------------------------
[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