From: fmajet at yahoo dot fr
Operating system: XP SP2
PHP version: 5.2.5
PHP Bug Type: COM related
Bug description: Pb with COM in PHP5
Description:
------------
Hello
i've got this message when i want to instantiate a com object
(in php 5.2.5 with WampServer)
$myobject=new COM("mylibrary.myclasse");
error
Uncaught exception 'com_exception' with message 'Failed to create COM
object' Invalid Syntax
What is curious is when i instantiate a word or excel application it
works(php5)
And when i instantiate it in php4 with EasyPhp it works also.
I'm trying to find for hours what it could be , maybe a pb of path in
php.ini or in the way i call COM constructor but i don't succeed.
Thanks for your help
Francois
Reproduce code:
---------------
$myobject=new COM("mylibrary.myclasse");
Expected result:
----------------
Nothing
Actual result:
--------------
error
Uncaught exception 'com_exception' with message 'Failed to create COM
object' Invalid Syntax
--
Edit bug report at http://bugs.php.net/?id=44256&edit=1
--
Try a CVS snapshot (PHP 5.2):
http://bugs.php.net/fix.php?id=44256&r=trysnapshot52
Try a CVS snapshot (PHP 5.3):
http://bugs.php.net/fix.php?id=44256&r=trysnapshot53
Try a CVS snapshot (PHP 6.0):
http://bugs.php.net/fix.php?id=44256&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=44256&r=fixedcvs
Fixed in release:
http://bugs.php.net/fix.php?id=44256&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=44256&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=44256&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=44256&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=44256&r=support
Expected behavior: http://bugs.php.net/fix.php?id=44256&r=notwrong
Not enough info:
http://bugs.php.net/fix.php?id=44256&r=notenoughinfo
Submitted twice:
http://bugs.php.net/fix.php?id=44256&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=44256&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=44256&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=44256&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=44256&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=44256&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=44256&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=44256&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=44256&r=mysqlcfg