bizen99
4th September 2002, 10:57
I'm trying to call 'Baan4.Application' throught COM functions,
I put:
$baan = new COM("Baan4.Application") or die("Unable to instantiate Word");
but the next message is displayed:
Unable to obtain IDispatch interface for CLSID {E137FE76-25D4-4B23-B660-B7101F4D0E99}
By the other side, if I call from excel with the samples of baan, it is OK,
what's wrong?
Thanks
patvdv
4th September 2002, 11:14
From the official PHP-manual at: http://www.php.net/manual/en/faq.com.php
7. What does 'Unable to obtain IDispatch interface for CLSID {xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}' mean ?
This error can have multiple reasons:
* the CLSID is wrong
* the requested DLL is missing
* the requested component doesn't implement the IDispatch interface
bizen99
4th September 2002, 11:36
yes, I saw this help in php.net, but I don't understand what they want to say with that
Have I register 'baan.tbl'? How? when I do in excel it is ok
patvdv
4th September 2002, 11:43
Sorry, no idea. I am fairly comfortable with PHP but COM is new to me.
Darren Phillips
4th September 2002, 12:14
just an idea but try calling a specific BWC file
Baan4.Application.nameofBWC
bizen99
4th September 2002, 12:28
I tryed with 'Baan4.Application.namebcw', and displayed the same
I think that is because I had installed multiple clients inn the server, I don't know.
bizen99
10th September 2002, 10:21
New information:
When I look the bshell archive show this information:
Error in CreateInstance(IUnknow*, REFIID, LPVOID*). SendOleEvent timed out.
any ideas?