ID: 11760 Updated by: phanto Reported By: [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] [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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]