Bug #44256 [Fbk->NoF]: Pb with COM in PHP5

From: Date: Sun, 16 Feb 2020 04:22:05 +0000
Subject: Bug #44256 [Fbk->NoF]: Pb with COM in PHP5
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-225595@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=44256&edit=1 ID: 44256 Updated by: php-bugs@lists.php.net Reported by: fmajet at yahoo dot fr Summary: Pb with COM in PHP5 -Status: Feedback +Status: No Feedback Type: Bug Package: COM related Operating System: XP SP2 PHP Version: 5.2.5 Assigned To: cmb Private report: N New Comment: No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to "Re-Opened". Thank you. Previous Comments: ------------------------------------------------------------------------ [2020-02-08 22:20:10] cmb@php.net Not enough information was provided for us to be able to handle this bug. Please re-read the instructions at http://bugs.php.net/how-to-report.php If you can provide more information, feel free to add it to this bug and change the status back to "Open". Thank you for your interest in PHP. ------------------------------------------------------------------------ [2008-02-26 19:19:20] fmajet at yahoo dot fr 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 this bug report at https://bugs.php.net/bug.php?id=44256&edit=1

« previous php.bugs (#225595) next »