From: brabuhr@... Date: 2008-09-04T06:14:51+09:00 Subject: Re: Calling DLL's from Ruby On Wed, Sep 3, 2008 at 4:14 PM, dkmd_nielsen wrote: > I've written quite a bit of logic into DLL's using C#. I would like > to leverage that logic in my Ruby scripts, but I am unsure where to > start or how to start. I've installed RubyClr, but no documentation > installed with it. > > Is RubyClr the correct path to take? Where can I find examples? > Should I be looking elsewhere? I have used RubyCLR and ruby-mono[1], but don't know if I still have any of the old projects sitting around. There is also the Sapphire in Steel Ruby bridge[2] or perhaps hitting .Net via Win32 COM. I have some links in my mail archives[3,4,5] but don't know if they still are alive or useful since my company doesn't allow outbound http anymore. [1] http://raa.ruby-lang.org/project/ruby-mono/ [2] ... [3] http://rbazinet.wordpress.com/2006/03/30/rubyclr-ruby-meets-net/ [4] http://www.iunknown.com/articles/tag/rubyclr [5] http://rubyforge.org/plugins/scmsvn/viewcvs.php/trunk/Samples/?root=rubyclr Found this snippet: require 'rubyclr' RubyClr::reference_file 'Assembly.dll' include Assembly connection = DataStoreConnection.new connection.Open