php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #32758 Cannot access safearray properties in VB6 objects
Submitted: 2005-04-19 07:52 UTC Modified: 2005-04-19 07:59 UTC
From: wez@php.net Assigned:
Status: Closed Package: COM related
PHP Version: 5.0.3 OS: win32
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: wez@php.net
New email:
PHP Version: OS:

 

 [2005-04-19 07:52 UTC] 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

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-04-19 07:59 UTC] wez@php.net
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.


 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue Feb 18 13:01:28 2025 UTC