From:             [EMAIL PROTECTED]
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


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to