AddNamedItem throws exception

D

David Manns

We have a scripting engine interface in our application. This works
fine for loading/calling VBscript and Javascript scripting engines,
but PythonScript fails. Specifically, it fails at :
m_pAxsScript->AddNamedItem("application", SCRIPTITEM_NAMEDITEM)
where m_pAxsScript is the IActiveScript interface acquired through
CoCreateInstance. The exception returned is:
80004005
which to my mind implies some kind of 'access denied' error. We are
using Python 2.7.2 and Pywin32 2.7 on a Windows 7 32-bit system. We
have this problem here on a test machine that was set up to match that
in use at one of our customers who is now stuck being unable to run
his scripts.

Any clues or suggestions would be gratefully received.

David
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,226
Members
46,815
Latest member
treekmostly22

Latest Threads

Top