ID:               45280
 Updated by:       bj...@php.net
 Reported By:      RQuadling at GMail dot com
-Status:           Open
+Status:           Feedback
 Bug Type:         COM related
 Operating System: Windows XP SP2
 PHP Version:      5.3CVS-2008-06-16 (snap)
 New Comment:

Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read
http://bugs.php.net/bugs-generating-backtrace.php for *NIX and
http://bugs.php.net/bugs-generating-backtrace-win32.php for Win32

Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.




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

[2008-06-16 13:37:00] RQuadling at GMail dot com

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

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

[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