I just downloaded R.D.N. r3 and I’ve got a little problem.
If I try to run the evaluator scipt I get this error:
c:/programmi/ruby-1.8/ruby/lib/ruby/site_ruby/1.8/dotnet/bridge.rb:124:in
inter nalSendMessage': It is invalid to push a main message loop in this context. This may cause your application to not respond to Windows messages. (DotNetException ) from c:/programmi/ruby-1.8/ruby/lib/ruby/site_ruby/1.8/dotnet/bridge.rb: 124:in
sendMessage’
from
c:/programmi/ruby-1.8/ruby/lib/ruby/site_ruby/1.8/dotnet/bridge.rb:
273:in method_missing' from evaluator.rbw:165:in
runNewOnForm’
from evaluator.rbw:248
I even get this error with this simple script:
require ‘dotnet’
=> true
loadLibrary(‘System.Windows.Forms’)
=> #<DotNetObject:0x27eb1a0 @dotNet=#DotNet:0x27ec4a8,
@objectRef=#WrappedObjectRef:0x27eb518>
Application.run(Form.new)
…same error…
I thought this should work
BTW, I’m not much into the .net development, so possibly I’m just
doing a wrong thing.
OTOH, running tests work fine, some tests are failing cause it seem I
don’t have csc.exe in my path…
anyway this is really an impressive package!
Just two things:
-
would you please add the online documentation to the archive? goin
online just to get some docs that could safely fit in the .zip file is
a PITA. -
would you add some more samples?