July 15, 2005
11:56 p.m.
Hello, Both questions relate to python embedded in a C# application. 1.. If my python script returns a False/True then to pass the bool to the c# script then this: bool result = (bool)runFrm.AsManagedObject(typeof(Boolean)); should work shouldn't it? 2.. If the python script needed to return 3 values(2 strings + 1 boolean), then how do I pass these to the C# application. I can't return an array because the values aren't all the same type. And I can see no equivalent of a python tuple. TIA, Guy
7129
Age (days ago)
7129
Last active (days ago)
0 comments
1 participants
participants (1)
-
Guy Robinson