From:             andy at advancethermal dot com
Operating system: WindowsXP
PHP version:      5CVS-2004-06-10 (dev)
PHP Bug Type:     COM related
Bug description:  Uncaught exception 'com_exception'

Description:
------------
COM handling in php5-win32-200406101030 is failing where it works without
error in 4.3.7.  For CrystalRunTime.Application, it is crashing with the
following commands:

$creport->DiscardSavedData;  (in example below)
$creport->ReadRecords();
$creport->Export(false);

Reproduce code:
---------------
$crapp = new COM("CrystalRunTime.Application");
$creport = $crapp->OpenReport("c:\\myweb\\reports\\myreport.rpt", 1);
$creport->DiscardSavedData;


Expected result:
----------------
(no failure expected)

Actual result:
--------------
Fatal error: Uncaught exception 'com_exception' with message 'Error Member
not found. ' in C:\myweb\htdocs\printlib.php:3 Stack trace: #0
C:\myweb\htdocs\faxcoverpage.php(26): PrintReport('myreport.rpt', '0',
'myreport', '', 'printmyreport.ph...', 'portrait', '1', Array) #1 {main}
thrown in C:\myweb\htdocs\printlib.php on line 3

-- 
Edit bug report at http://bugs.php.net/?id=28736&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=28736&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=28736&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=28736&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=28736&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=28736&r=needtrace
Need Reproduce Script:      http://bugs.php.net/fix.php?id=28736&r=needscript
Try newer version:          http://bugs.php.net/fix.php?id=28736&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=28736&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=28736&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=28736&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=28736&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=28736&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=28736&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=28736&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=28736&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=28736&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=28736&r=float

Reply via email to