A while ago (with some unknown build of activepython and activeperl) I was able to get activepython to support activescripting host. Meaning I could write scripts for my server software in vbs,jscript,perlscript and pythonscript.

 

All was well until a couple of days ago I was told that activepython did not work. Indeed it didn’t. When the script starts I load all my named objects without any errors. However on parsescripttext a null exception is thrown by the kernel. There is the code that calls parsescript

 

            //Pass the script to be run to the script engine with a call to ParseScriptText

            HRESULT hr = m_Parser->ParseScriptText(T2COLE(m_strScript), NULL, NULL, NULL, 0, 0, 0L, NULL, NULL);

            if (FAILED(hr))

                        OutputDebugString("Error calling ParseScriptText\n");

 

Has activestate tested their newer activepython builds to see if it works with activescripting host?

The same code works fine for vbscript and jscript (plus an older version of activepython I had before)

 

_______________________________________________
ActivePython mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Other options: http://listserv.ActiveState.com/mailman/listinfo/ActivePython

Reply via email to