php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #16375 COM: Feature: Support for VARIANT multi dimensional arrays
Submitted: 2002-04-01 11:04 UTC Modified: 2004-09-20 12:34 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: jbendixsen at shaw dot ca Assigned: wez (profile)
Status: Closed Package: Feature/Change Request
PHP Version: 5CVS OS: Windows 2000
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: jbendixsen at shaw dot ca
New email:
PHP Version: OS:

 

 [2002-04-01 11:04 UTC] 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




Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-11-17 22:36 UTC] sniper@php.net
Wez, check this out..

 [2004-09-20 12:34 UTC] wez@php.net
Was implemented ready for PHP 5.0.0
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 17:01:58 2024 UTC