[IronPython] Can't get asynchronous delegates to work
dinov at microsoft.com
Thu Sep 11 08:54:31 PDT 2008
You're hitting a CLR bug. Here's an explanation of the issue: http://lists.ironpython.com/pipermail/users-ironpython.com/2008-May/007073.html and here's a potential work around: http://lists.ironpython.com/pipermail/users-ironpython.com/2008-May/007078.html
It looks like they're still working on fixing it.
From: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] On Behalf Of Knic Knic
Sent: Thursday, September 11, 2008 2:32 AM
To: users at lists.ironpython.com
Subject: [IronPython] Can't get asynchronous delegates to work
I am trying to get asynchronous delegates to work in 1.1.2 and 2.0 beta3, both fail for me, here is what I am trying to do
from IronPython.Runtime.Calls import CallTarget0
delegate = CallTarget0(printHi)
async_result = delegate.BeginInvoke(None, None)
Here is what I get:
Traceback (most recent call last):
File , line 0, in <stdin>##22
File , line 0, in EndInvoke##23
SystemError: Object reference not set to an instance of an object.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Users