I have create a COM DLL and registerd it, now i have to access COM DLL function from PHP but it gives
following error
Warning: (null)(): Unable to obtain IDispatch interface for CLSID {E3F720FE-F8C5-4CC8-972C-30EFD5B437EC}: No such interface supported in C:\Inetpub\wwwroot\System.php on line 4
PHP has encountered an Access Violation at 010C90A8
code is
<?php
// create a reference to a new COM component (Word)
$word = new COM("MyMathDLL.MyMath") or die("Can't start Word!");
// create a new document in Word
$sum = $word->MyAdd(1, 2);
print "Sum = $sum<br>";
?>