php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #5419 COM Interface
Submitted: 2000-07-06 22:49 UTC Modified: 2000-08-27 14:25 UTC
From: Howard dot Cohodas at dkt dot com Assigned: bmcadams (profile)
Status: Closed Package: Other
PHP Version: 4.0 Release Candidate 2 OS: NT4SP6a
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: Howard dot Cohodas at dkt dot com
New email:
PHP Version: OS:

 

 [2000-07-06 22:49 UTC] Howard dot Cohodas at dkt dot com
HTTP Server - WebSite Pro 2.4.22

I am moving a simple script from ASP to PHP4.
I've reduced the PHP4 Script to this:
$id = new com("Greetings.SayHello"); 
unset($id); 

First time after a server restart no error.  The second time results in error message:
Warning: Unable to obtain IDispatch interface for CLSID {15DBEE96-4F98-11D4-8993-0000C07514EE}: CoInitialize has not been called. in D:\Web_Sites\Testing_PHP4\HTdocs\test_com.php4 

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-08-11 09:40 UTC] bmcadams@php.net
Please upgrade to a newer version of PHP (PHP4.0.1pl2 or latest CVS) and see if you can duplicate the problem.

 [2000-08-11 20:55 UTC] bmcadams@php.net
According to user, problem persists with latest version of PHP (4.0.1pl2).

What is the actual module you are using?  I am interfacing a Credit Card Processing Module via COM on NT4SP6a + IIS 4 and see no problems (latest PHP release version).

If you could give me a module to test with I will see if I can duplicate the problem.
 [2000-08-27 14:25 UTC] Howard dot Cohodas at dkt dot com
php-4.0.2-dev-Win32-24-8-2000.zip

Problem no longer in evidence.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Jul 24 12:01:28 2024 UTC