#32758 [Opn->Csd]: Cannot access safearray properties in VB6 objects

From: Date: Tue, 19 Apr 2005 05:59:39 +0000
Subject: #32758 [Opn->Csd]: Cannot access safearray properties in VB6 objects
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-77852@lists.php.net to get a copy of this message
ID: 32758 Updated by: wez@php.net Reported By: wez@php.net -Status: Open +Status: Closed Bug Type: COM related Operating System: win32 PHP Version: 5.0.3 New Comment: This bug has been fixed in CVS. Snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. Thank you for the report, and for helping us make PHP better. Previous Comments: ------------------------------------------------------------------------ [2005-04-19 07:52:59] wez@php.net Description: ------------ echo $obj->arr[3]; on objects written using VB6 would produce the error DISP_E_NOTACOLLECTION and not allow the data to be accessed. The same object written using ATL works fine. Reproduce code: --------------- echo $obj->arr[3]; Expected result: ---------------- the value Actual result: -------------- a com_exception ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=32758&edit=1

« previous php.bugs (#77852) next »