ID: 28179
User updated by: arnout at argeweb dot nl
Reported By: arnout at argeweb dot nl
Status: Wont fix
Bug Type: COM related
Operating System: Windows NT 5.2 / Windows 2003
-PHP Version: 4.3.6
+PHP Version: PHP Version 5.0.0RC2
New Comment:
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
Previous Comments:
------------------------------------------------------------------------
[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.
------------------------------------------------------------------------
[2004-04-28 11:11:39] [EMAIL PROTECTED]
The IDL describes what the method looks like to other COM applications;
I need it to see what their object expects and help deduce what might
be going wrong.
------------------------------------------------------------------------
[2004-04-28 09:39:46] arnout at argeweb dot nl
I've talked to them. They said an IDL wouldn't do much good because IDL
doesn't contain friend functions, only publics.
They offered to create a sober "Hello world" DLL in VB which simulates
the case. I'll test again when I get it. If the error occurs again I'll
send you the source code + compiled version.
Is that of use to you?
------------------------------------------------------------------------
[2004-04-27 19:52:30] [EMAIL PROTECTED]
It could easily be a PHP problem.
Could you paste the IDL for the method in question here please, so that
I can make a similar COM object here to
test against.
If you're unsure about how to get it, ask the people
that made the DLL.
------------------------------------------------------------------------
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