I am having some difficuly initiliazing Python as an ActiveX Scripting 
engine. 

IActiveScript and IActiveScriptParse from the component category manager 
return Python.AXScript.2

however when m_wzScriptName in the following code is set to 
"Python.AXScript.2" (also tried all sorts of variations Python, Python21, 
PythonCOM, win32com, PythonScript), it fails at the CoCreateInstance

    hr = CLSIDFromProgID(m_wzScriptLanguage, &clsid);
    if (SUCCEEDED(hr))
    {
        hr = CoCreateInstance(clsid, NULL, CLSCTX_ALL, IID_IActiveScript, 
(void **)&m_pScriptEngine);


anyone know what I am doing wrong here?


Thank you

Bobby G. Vinyard
_______________________________________________
ActivePython mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/activepython

Reply via email to