Hi Dino,

Is there a reason ObjectOperations.Call(scope.GetVariable("Process"),
args) doesn't work?

It seems that ObjectOperations does not have a static method Call. Where do I get an ObjectOperations instance from?

I found another solution:
Delegate process = scope.GetVariable<PythonFunction>("process").Target;
process.DynamicInvoke(args);

One problem I have with the approach is that I can only use up to 5 arguments. For more arguments I get a TargetParameterCountException.


Any ideas?

Thanks,
Christian
_______________________________________________
Users mailing list
[email protected]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Reply via email to