[IronPython] CallTarget0

Dino Viehland dinov at exchange.microsoft.com
Wed Jun 21 18:58:24 CEST 2006


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: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] On Behalf Of Andrzej Krzywda
Sent: Wednesday, June 21, 2006 9:52 AM
To: users at lists.ironpython.com
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
users at lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com



More information about the Ironpython-users mailing list