Re: [IronPython] CallTarget0 problem

2009-06-04 Thread Michael Foord
Curt Hagenlocher wrote: On Thu, Jun 4, 2009 at 12:30 PM, Michael Foord wrote: A while ago there were changes to CallTarget0 that made it incompatible with .NET methods that have a void return signature. Dino told me he would change it back so it would work again, but I guess that didn't happ

Re: [IronPython] CallTarget0 problem

2009-06-04 Thread Curt Hagenlocher
On Thu, Jun 4, 2009 at 12:30 PM, Michael Foord wrote: > > A while ago there were changes to CallTarget0 that made it > incompatible with .NET methods that have a void return signature. > Dino told me he would change it back so it would work again, > but I guess that didn't happen... I believe it'

Re: [IronPython] CallTarget0 problem

2009-06-04 Thread Michael Foord
Kent Johnson wrote: Hi, I am an IPy newbie, trying to run example 7.17 from IronPython in Action. It includes the code delegate = CallTarget0(something.form.Close) something.form.Invoke(delegate) were something.form is a Windows.Forms.Form object. The first line above gives this error: Traceba

[IronPython] CallTarget0 problem

2009-06-04 Thread Kent Johnson
Hi, I am an IPy newbie, trying to run example 7.17 from IronPython in Action. It includes the code delegate = CallTarget0(something.form.Close) something.form.Invoke(delegate) were something.form is a Windows.Forms.Form object. The first line above gives this error: Traceback (most recent call l