From: "Morris, Chris" Date: 2002-03-16T04:08:19+09:00 Subject: RE: Plugging Ruby and COM together? > I'm entering unchartered territory with COM programming, and > wanted to make > a piece of Ruby library 'glue' to a proprietry COM interface. > The Daves' > book has got me writing Ruby glue code easily, but I'd like a little > advice, or even better, example code on how to integrate COM > objects into > Ruby, if that's do-able. If you're just looking to use COM objects from Ruby, it's simple: require 'win32ole' ie = WIN32OLE.new('InternetExplorer.Application') ie.visible = true ie.gohome ... I use it all the time even with custom Windows Scripting Components -- vbscript or jscript packaged up as a COM object. If you're looking to use Ruby from COM -- check out RubyCOM http://www.geocities.com/masonralph/rubycomdoc.html. Chris