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

From: Date: Sat, 08 Feb 2020 22:20:10 +0000
Subject: Bug #44256 [Opn->Fbk]: Pb with COM in PHP5
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-225455@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:         cmb@php.net
 Reported by:        fmajet at yahoo dot fr
 Summary:            Pb with COM in PHP5
-Status:             Open
+Status:             Feedback
 Type:               Bug
 Package:            COM related
 Operating System:   XP SP2
 PHP Version:        5.2.5
-Assigned To:        
+Assigned To:        cmb
 Block user comment: N
 Private report:     N

 New Comment:

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.


Previous Comments:
------------------------------------------------------------------------
[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


Thread (3 messages)

« previous php.bugs (#225455) next »