CallTarget0 has actually just moved to IronPython.Runtime.Calls (we used to have over 200 classes in IronPython.Runtime which was just too many).
The exception you're getting is still potentially interesting - could you send us the stack trace when running w/ -X:ExceptionDetail ? -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Andrzej Krzywda Sent: Wednesday, June 21, 2006 9:52 AM To: [email protected] Subject: [IronPython] CallTarget0 Hi, We are in the process of upgrading an application from IronPython Beta 5 to Beta 8. Previously it would execute certain functions on the thread belonging to our GUI controls: def DoSomething() pass form.Invoke(CallTarget0(DoSomething)) In beta 8, the CallTarget0 class has been removed - what should we replace it with? We tried simply passing the function to the Invoke() method, but this failed with "SystemError: Object reference not set to an instance of an object." Regards, Andrzej Krzywda _______________________________________________ users mailing list [email protected] http://lists.ironpython.com/listinfo.cgi/users-ironpython.com _______________________________________________ users mailing list [email protected] http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
