I have a script in which I define an object sort of like this:
$objCOM = new COM("dll-object.formName");
And later down in the code I call a function that the above mentioned COM object exposes:
$objCOM->doThis(bla, bla, bla);
If I try to do a gettype(objCOM) it returns NULL and I get the error:
PHP Fatal error: Call to a member function on a non-object
pointing to the line where I call the function of the COM object - the weird thing is that this works in ASP if I try to create the same object and calling the same function?!?
I am running the PHP isapi filter on a Windows 2000 Server with IIS.
I tried setting up the server to use the CGI version, but then I get an application error with the possibility to debug php.exe - but it displays the page, however this also returns NULL on the gettype.
Please help
🙁
Juzz