ID: 28179
Updated by: [EMAIL PROTECTED]
Reported By: arnout at argeweb dot nl
-Status: Open
+Status: Feedback
Bug Type: COM related
Operating System: Windows NT 5.2 / Windows 2003
PHP Version: PHP Version 5.0.0RC2
New Comment:
What user account is Apache running under?
Does it make a difference if you run it as a different user?
Previous Comments:
------------------------------------------------------------------------
[2004-04-29 16:45:39] arnout at argeweb dot nl
I'm using Apache 2 and run 5.0.0RC2 as a module. Maybe that makes some
difference?
$Administration = new COM("PHPTest.Administration") or die("huh?");
$Customer = new COM("PHPTest.Customer") or die("what?");
echo $Customer->Connect( $Administration ); // Huge error
------------------------------------------------------------------------
[2004-04-29 16:12:20] [EMAIL PROTECTED]
The test materials you supplied worked just fine.
------------------------------------------------------------------------
[2004-04-29 15:14:47] arnout at argeweb dot nl
The problem's still there.
Fatal error: Uncaught exception 'com_exception' with message 'Source:
PHPTest
Description: Can not call friend function on object which is not an
instance of defining class' in C:\Program Files\Apache
Group\Apache2\htdocs\phptest.php:32 Stack trace: #0 {main} thrown in
C:\Program Files\Apache Group\Apache2\htdocs\phptest.php on line 32
------------------------------------------------------------------------
[2004-04-28 17:12:42] [EMAIL PROTECTED]
Maybe its about time I read the version field of this report.
This problem won't be fixed in PHP 4, but already works just fine in
PHP 5.
------------------------------------------------------------------------
[2004-04-28 13:30:39] arnout at argeweb dot nl
I received the DLL and the error's still there.
http://www.argeweb.nl/php/PHPTest.zip
This file contains the DLL, the sourcecodes, an example and a readme.
No IDL but I think this might be even better.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/28179
--
Edit this bug report at http://bugs.php.net/?id=28179&edit=1