AddNamedItem throws exception

Discussion in 'Python' started by David Manns, Apr 2, 2012.

  1. David Manns

    David Manns Guest

    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
    David Manns, Apr 2, 2012
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Himmat Dhange
    Replies:
    0
    Views:
    418
    Himmat Dhange
    Aug 26, 2003
  2. Cowboy \(Gregory A. Beamer\)
    Replies:
    1
    Views:
    792
    =?Utf-8?B?amhpbGw=?=
    May 16, 2004
  3. Aren Cambre
    Replies:
    5
    Views:
    4,066
  4. Chris Miller
    Replies:
    4
    Views:
    13,284
    Chris Smith
    Nov 22, 2003
  5. Replies:
    2
    Views:
    327
Loading...

Share This Page