David Manns wrote:
>
> 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 hresult returned is:
>
>     80004005
>
> which to my mind implies some kind of 'access denied' error.
>

Have you enabled Python as an Active Scripting engine?  It's not enabled
by default, because there are security issues that couldn't be
completely eliminated without disabling parts of the interpreter.  See
win32comext\axscript\client\pyscript.py.

-- 
Tim Roberts, t...@probo.com
Providenza & Boekelheide, Inc.

_______________________________________________
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to