Re: [Ironruby-core] COM Interop Problem

2010-02-19 Thread Shane Emmons
; > Tomas: Can we make Shane's case work without requiring the cast to CLR string? > > JD > > > > -Original Message- > From: Shane Emmons > Sent: Friday, February 19, 2010 7:02 AM > To: [email protected] > Subject: Re: [Ironruby-core] COM Inte

Re: [Ironruby-core] COM Interop Problem

2010-02-19 Thread Jim Deville
e cast to CLR string? JD -Original Message- From: Shane Emmons Sent: Friday, February 19, 2010 7:02 AM To: [email protected] Subject: Re: [Ironruby-core] COM Interop Problem On Thu, Feb 18, 2010 at 3:42 PM, Shane Emmons wrote: > Anytime I invoke a method on a COM object wit

Re: [Ironruby-core] COM Interop Problem

2010-02-19 Thread Shane Emmons
On Thu, Feb 18, 2010 at 3:42 PM, Shane Emmons wrote: > Anytime I invoke a method on a COM object with one or more arguments, > I get the following error: >  Could not convert argument 0 for call to Open. (ArgumentError) > > What's preplexing is the argument number is always the last argument, > so

[Ironruby-core] COM Interop Problem

2010-02-18 Thread Shane Emmons
Anytime I invoke a method on a COM object with one or more arguments, I get the following error: Could not convert argument 0 for call to Open. (ArgumentError) What's preplexing is the argument number is always the last argument, so if there are four arguments, the error will be on argument 3. H