[PHP-DEV] Bug #11760 Updated: VT_ARRAY not supported From: phanto <email protected>
Date: 07/01/01

ID: 11760
Updated by: phanto
Reported By: heejung73 <email protected>
Old-Status: Open
Status: Closed
Bug Type: COM related
Operating system:
PHP Version: 4.0.6
Assigned To:
Comments:

both is the case :)

first: array support is not implemented in php4.0.6. you have to use a recent snapshot.

second: VT_ARRAY is not a type, its only a modificator like VT_BYREF, you have to use something like VT_I4|VT_ARRAY|VT_BYREF

but the variant class is only needed if you explicitly want to cast your var to a specific type. you can directly pass a php-variable to a com-method as well.

harald.

Previous Comments:
---------------------------------------------------------------------------

[2001-06-27 19:41:56] heejung73 <email protected>

hi,

the following line of code
  $vXXX = new VARIANT($XXX, VT_ARRAY|VT_BYREF);

results in
  Warning: Type not supportet or not yet implemented

please let me know if this is a real bug or if i'm doing something wrong. i hope i'm doing something wrong coz i really need this to work!

thanks...

---------------------------------------------------------------------------

ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=11760&edit=2

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>