Bug #48425 [Opn->Dup]: Can not call static methods from .net DLL
Edit report at https://bugs.php.net/bug.php?id=48425&edit=1
ID: 48425
Updated by: cmb@php.net
Reported by: halflife at cableone dot net
Summary: Can not call static methods from .net DLL
-Status: Open
+Status: Duplicate
Type: Bug
Package: COM related
Operating System: Windows Server 2003
PHP Version: 5.2.9
-Assigned To:
+Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
Duplicate of bug #50473.
Previous Comments:
------------------------------------------------------------------------
[2009-05-29 04:57:00] halflife at cableone dot net
Description:
------------
I can call any public methods in a public class from my dll no
problem, but calling any methods that are set as static, results in
the error
Fatal error: Call to undefined method com::DoMD5() in
C:\wamp\www\xxx\netphp.php on line 5
Reproduce code:
---------------
Source to dll class <a href=http://www.dlgnetworks.com/HashPotato.cs
PHP Code calling it
$DLGtb = new COM("DLG.Crypto.HashPotato");
echo $DLGtb->DoMD5("test");
Expected result:
----------------
Should return the MD5 of the string
Actual result:
--------------
Fatal error: Call to undefined method com::DoMD5()
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=48425&edit=1
Thread (2 messages)