Bug #13105: COM: Unsupported variant type (ARRAY of OBJECTS)
| From: | chatzoulis at flashmail dot com | Date: | Mon, 03 Sep 2001 09:41:40 +0000 |
| Subject: | Bug #13105: COM: Unsupported variant type (ARRAY of OBJECTS) | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-64945@lists.php.net to get a copy of this message | ||
From: chatzoulis@flashmail.com
Operating system: windows 2000
PHP version: 4.0.6
PHP Bug Type: COM related
Bug description: COM: Unsupported variant type (ARRAY of OBJECTS)
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 bug report at: http://bugs.php.net/?id=13105&edit=1