ID: 28179
Updated by: [EMAIL PROTECTED]
Reported By: arnout at argeweb dot nl
-Status: Open
+Status: Closed
Bug Type: COM related
Operating System: Windows NT 5.2 / Windows 2003
PHP Version: PHP Version 5.0.0RC2
Previous Comments:
------------------------------------------------------------------------
[2004-05-03 12:57:14] arnout at argeweb dot nl
I've got it running now too. It only works if you import the DLL like
'event classes' instead of 'components'.
The real DLL by the way didn't work until I removed it all from the
COM+ manager and run regsvr32.exe on it.
------------------------------------------------------------------------
[2004-04-30 11:45:36] [EMAIL PROTECTED]
What user account is Apache running under?
Does it make a difference if you run it as a different user?
------------------------------------------------------------------------
[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
------------------------------------------------------------------------
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