Re: [IronPython] C# and IronPython Interface.

2007-11-28 Thread Dino Viehland
hreading.ThreadHelper.ThreadStart() In this regard, I wanted to know am I missing something primitive in the Project Settings ? Regards -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dino Viehland Sent: Dienstag, 27. November 2007 18:32 To: Discussion of

Re: [IronPython] C# and IronPython Interface.

2007-11-28 Thread Kaveripakam, Sathish
ing.ThreadHelper.ThreadStart() In this regard, I wanted to know am I missing something primitive in the Project Settings ? Regards -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dino Viehland Sent: Dienstag, 27. November 2007 18:32 To: Discussion of

Re: [IronPython] C# and IronPython Interface.

2007-11-27 Thread Dino Viehland
You're going to want to do something like (only compiled w/ Outlook, so there may be some small compile errors here): PythonEngine pe = new PythonEngine(); EngineModule mod = pe.CreateModule(); pe.Execute(File.ReadAllText("ArithmeticOperations.py"), mod); object func = mod.Globals["ArithmeticOper