Bug #13928 Updated: No support for VARIANT array return type

From: Date: Thu, 15 Nov 2001 10:21:25 +0000
Subject: Bug #13928 Updated: No support for VARIANT array return type
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-70542@lists.php.net to get a copy of this message
ID: 13928 Updated by: phanto Reported By: starver@kc.rr.com Old Status: Open Status: Duplicate Bug Type: COM related Operating System: WinNT 2000 Pro PHP Version: 4.0.6 Previous Comments: ------------------------------------------------------------------------ [2001-11-05 00:06:19] starver@kc.rr.com I have built a 'standard' dual-interface COM dll. Most functions return data as a 1 dimmension SafeArray of VARIANTs. I get the following when I try: $jReader = new COM("journalmancom.reader") or die("Unable to instantiate JournalManCOM object"); $var = new VARIANT(); $jReader->GetPrimaryEventTypes( $var ); print $var->value; Warning: Unsupported variant type: 8204 (0x200C) This corresponds to VT_VARIANT | VT_ARRAY. I noticed that php_variant_to_pval() doesn't look for VT_ARRAY. ------------------------------------------------------------------------ Edit this bug report at http://bugs.php.net/?id=13928&edit=1

« previous php.dev (#70542) next »