Bug #13105 Updated: COM: Unsupported variant type (ARRAY of OBJECTS)
| From: | phanto@php.net | Date: | Sun, 23 Sep 2001 11:15:57 +0000 |
| Subject: | Bug #13105 Updated: COM: Unsupported variant type (ARRAY of OBJECTS) | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-66387@lists.php.net to get a copy of this message | ||
ID: 13105
Updated by: phanto
Reported By: chatzoulis@flashmail.com
Old Status: Open
Status: Closed
Bug Type: COM related
Operating System: windows 2000
PHP Version: 4.0.6
New Comment:
single dimensional arrays will be supported in php 4.0.7, you'll have to wait or try to use a
current snapshot.
-harald.
Previous Comments:
------------------------------------------------------------------------
[2001-09-03 05:41:39] chatzoulis@flashmail.com
Hello everybody! . . .
the SECOND of the following two LINEs of code:
//next line successfully instanciates a COM component (of a software called "Teres")
$COMInstance = new COM("ArrowCoreAPI.AcConnection")or die("Unable to
instantiate");
//...
//...
//next line should return an array of objects (to $returnArrayOfObjects), instead it returns a
boolean (to $returnArrayOfObjects)
$returnArrayOfObjects=$COMInstance->GetNodesOfType($UserType,$version);
RESULTS IN:
Warning: Unsupported variant type: 8201 (0x2009) in c:\programme\apache
group\apache\htdocs\teres\login.php on line 25
Could it be that PHP doesn't support returning an array of objects (through COM)?
Is there a SOLUTION to my problem??
Thanx alot,
Antony (Munich-Germany)
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=13105&edit=1