Bug #13928: No support for VARIANT array return type

From: Date: Mon, 05 Nov 2001 05:06:20 +0000
Subject: Bug #13928: No support for VARIANT array return type
Groups: php.dev 
Request: Send a blank email to php-dev+get-69627@lists.php.net to get a copy of this message
From:             starver@kc.rr.com
Operating system: WinNT 2000 Pro
PHP version:      4.0.6
PHP Bug Type:     COM related
Bug description:  No support for VARIANT array return type

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 bug report at: http://bugs.php.net/?id=13928&edit=1



Thread (4 messages)

« previous php.dev (#69627) next »