[Ironruby-core] cannot initialize Form with IronRuby

Meinrad Recheis meinrad.recheis at gmail.com
Sun Feb 8 13:54:47 EST 2009


IronRuby 1.0.0.0 on .NET 2.0.50727.1433
Copyright (c) Microsoft Corporation. All rights reserved.

>>> require "System.Windows.Forms, Version=2.0.0.0, Culture=neutral,
PublicKeyTo
ken=b77a5c561934e089"
=> true
>>> Form = System::Windows::Forms::Form
=> System::Windows::Forms::Form
>>> f=Form.new
=> #<System::Windows::Forms::Form:0x000005c>
>>> f.Show()
:0: wrong number of arguments (2 for 3) (ArgumentError)

>>> f.method( :Show).arity
=> 0
>>>

This is the latest daily DLR build on codeplex from 2009 Feb 1 at
9:36 PM. I read, that with older versions winforms interop has already been
working.


-- henon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20090208/72878b92/attachment.html>


More information about the Ironruby-core mailing list