Bug #11755 Updated: Can't pass array to COM obj

From: Date: Sun, 01 Jul 2001 21:27:10 +0000
Subject: Bug #11755 Updated: Can't pass array to COM obj
Groups: php.dev 
Request: Send a blank email to php-dev+get-58636@lists.php.net to get a copy of this message
ID: 11755 Updated by: phanto Reported By: heejung73@yahoo.com Status: Open Bug Type: COM related Operating system: PHP Version: 4.0.6 Assigned To: Comments: try a recent snapshot. arrays are not supportet in php4.0.6 Previous Comments: --------------------------------------------------------------------------- [2001-06-27 15:41:53] heejung73@yahoo.com i can't pass an array to my com object. the object works fine w/ ASP: Dim X(10); Obj.X = X; when i try to do the same w/ PHP, i get the following errors (b.t.w., i have no problems passing scalar values): Warning: PropPut() failed: Exception occurred. in xxx.php on line 90 or Warning: Unsupported variant type: 8204 (0x200C) in xxx.php on line 237 i tried using VARIANT & that didn't seem to help... The interfaces in my idl file looks like this: [propput, id(32), helpstring("property X")] HRESULT X([in] VARIANT newVal); [propget, id(32), helpstring("property X")] HRESULT X([out, retval] VARIANT *pVal); any help or clue would be greatly appreciated. thanks! --------------------------------------------------------------------------- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=11755&edit=2

« previous php.dev (#58636) next »