Bug #11760 Updated: VT_ARRAY not supported

From: Date: Sun, 01 Jul 2001 21:30:43 +0000
Subject: Bug #11760 Updated: VT_ARRAY not supported
Groups: php.dev 
Request: Send a blank email to php-dev+get-58638@lists.php.net to get a copy of this message
ID: 11760 Updated by: phanto Reported By: heejung73@yahoo.com 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@yahoo.com 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

« previous php.dev (#58638) next »