I have a very simple script, message.py:
from CLR.System.Windows.Forms import MessageBox
If I run this from the console it works fine and I see the MessageBox.
However, if I embed PythonNet in my .Net 1.1 C# app, Python loads correctly,
no exceptions are thrown, but I don't see the MessageBox.
This is the C# code:
IntPtr state = PythonEngine.AcquireLock();
StreamReader sr = File.OpenText("C:/message.py");
string pythoncode = sr.ReadToEnd();
Any idea what's going on?