Alrighty, so I went a different route...

I created my own ActiveX DLL...one that I know I can register.

Starting out really simple:

//My VB code
Public Function hello() As String

    hello = "Hello World!"
End Function

//My PHP code
<?php
function Hello() {
$new_com = new COM("DMStoTIFF.conv");
$output=$new_com->hello();
echo $output;}
Hello();
?>

So, after I register the DLL on the server my PHP page is correctly
displaying the "Hello World!" dialog.

What I'm having problems with now is trying to pass a variable to the DLL.

Shouldn't I be able to do this just like any other PHP class/function?

Reply via email to