ID:               45280
 User updated by:  RQuadling at GMail dot com
 Reported By:      RQuadling at GMail dot com
 Status:           Open
 Bug Type:         Reflection related
 Operating System: Windows XP SP2
 PHP Version:      5.3CVS-2008-06-16 (snap)
 New Comment:

I forgot to mention that the function com_print_typeinfo() does provide
some of the information I'm expecting to be available via Reflection.


Previous Comments:
------------------------------------------------------------------------

[2008-06-16 13:35:15] RQuadling at GMail dot com

Description:
------------
Hi.

I'm trying to use PHP to find out about the COM interface of Crystal
Reports XI.

I can use ...

php -r "ReflectionClass::export('COM');"

which shows the empty 'COM' class extending the 'variant' class.

But if I try and use ...

php -r "ReflectionObject::export(New
COM('CrystalReports11.ObjectFactory.1'));"

I get a crash and a request to send a report to Microsoft.

Reproduce code:
---------------
<?php
$o_CR = New COM('CrystalReports11.ObjectFactory.1');
ReflectionObject::export($o_CR);


Expected result:
----------------
A dump of the properties/methods provided by the Crystal Reports XI
Object Factory.

Actual result:
--------------
A crash and a Dr. Watson crash.



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=45280&edit=1

Reply via email to