Hello, thanks much to Dino on my last message. After redirecting output and
error, I now see the error I was getting explained a little more in depth. I'm
executing a script in order to load it as a module. The code is something like
this:
string p = Path.Combine("path to script");
ScriptScope newScope = engine.Runtime.ExecuteFile(p);
Are all framework types accessible from a hosted engine? While the module
loads fine using the above code, a reference to the StringBuilder (which works
fine when executing a file that references the module) produces an error "name
StringBuilder not defined." (The module does have a "from System.Text import
*") -
Thanks and regards,
David
____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now.
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
_______________________________________________
Users mailing list
Users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com