Bug #16375: Feature: Support for VARIANT multi dimensional arrays
| From: | jbendixsen at shaw dot ca | Date: | Mon, 01 Apr 2002 16:04:31 +0000 |
| Subject: | Bug #16375: Feature: Support for VARIANT multi dimensional arrays | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-3738@lists.php.net to get a copy of this message | ||
From: jbendixsen@shaw.ca
Operating system: Windows 2000
PHP version: 4.1.2
PHP Bug Type: COM related
Bug description: Feature: Support for VARIANT multi dimensional arrays
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 bug report at http://bugs.php.net/?id=16375&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=16375&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=16375&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=16375&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=16375&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=16375&r=support
Expected behavior: http://bugs.php.net/fix.php?id=16375&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=16375&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=16375&r=submittedtwice