Please help me!!!
I tried using COM in my PHP pages. I tested to call Word program from PHP references. A warning appearing as following:
Warning: (null)(): Unable to obtain IDispatch interface for CLSID {000209FF-0000-0000-C000-000000000046}: visit refused. in F:\Web\PHP_Extensions\COM_Word.php on line 3
Unable to instanciate Word
I developed a simple DLL using VB and it worked. But some days later it stopped working. Similiar warning appeared as following:
Warning: (null)(): Unable to obtain IDispatch interface for CLSID {F65C23C1-BC04-474C-A7CC-E5D31DC12F66}: visit refued. in F:\Web\PHP_Extensions\COM_YJW.php on line 5
Unable to instanciate TestDll Plus
Actually now I can call functions from TestDll Plus in VB and Word. Than means the DLL and Work work well. In addition, Some other DLL I developed are working well.
Could some people tell me what the reasons are and How I can debug them???
Thanks in advance.
Help!!!! PHP and COM
Moderator: General Moderators
- twigletmac
- Her Royal Site Adminness
- Posts: 5371
- Joined: Tue Apr 23, 2002 2:21 am
- Location: Essex, UK
Thanks
Thanks, Mac:
I don't know the which model of the Office software should be installed. Do you know the reason that the DLL I developed for testing which worked before now stopped working???? I didn't change anything.
Thanks again.
doodle
I don't know the which model of the Office software should be installed. Do you know the reason that the DLL I developed for testing which worked before now stopped working???? I didn't change anything.
Thanks again.
doodle
word
I found a way to invoke a word instance using com to dynamically create word documents. But I'm struggling with being able to keep the instance of Word open on the server so that it doesn't require the server to invoke a new instance every time I try to generate a document.
Wondering if you ever found a solution to this. I'm more than happy to provide what I've got for you.
If you did ever find a solution to this, were you able to keep the instance of Word open?
thx,
Burr
Wondering if you ever found a solution to this. I'm more than happy to provide what I've got for you.
If you did ever find a solution to this, were you able to keep the instance of Word open?
thx,
Burr
-
malcolmboston
- DevNet Resident
- Posts: 1826
- Joined: Tue Nov 18, 2003 1:09 pm
- Location: Middlesbrough, UK