|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2020-02-08 22:20 UTC] cmb@php.net
-Status: Open
+Status: Feedback
-Assigned To:
+Assigned To: cmb
[2020-02-08 22:20 UTC] cmb@php.net
[2020-02-16 04:22 UTC] php-bugs at lists dot php dot net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 12:00:01 2025 UTC |
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