Hi there
I'm making a Delphi app scriptable via MS Script Control, and it works fine
with JScript and partially with Python. The Python ActiveX scripting engine
runs fine and executes Python statements, but whenever I put an object in
the script controls's "context" it does not seem to be accessible from
inside the Python script.
Example:
----------------
I add an object from Delphi:
msScriptControl.AddObject("wizard", MyObject);
Then I try to use the object from within my Python script:
wizard.Test()
The error I get is:
NameError: name "wizard" is not defined.
This works fine in JScript. Does somebody have an idea what's going on?
Regards, Frank
_______________________________________________
ActivePython mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/activepython