Re: COM Interop Problem

Just so you know, the WIN32OLE library wraps the COM initialization and
removes the need for to_clr_string.

Require ‘win32ole’
WIN32OLE.new ‘Excel.Application’

This will also be cross compatible with MRI.

Tomas: Can we make Shane’s case work without requiring the cast to CLR
string?

JD

Thanks, that’s really handy. Just an FYI, I figured out the
#to_clr_string when going through the documentation on IronRuby.net
which is currently reporting the following error anywhere I assume you
mean to have code:

reference to undefined name ‘syntax’