Hi Masaki,

Many thanks for your prompt response!

In answer to your question:
> What is the result of the following?
>   p ARGV[3]
>   p ARGV[4]

When I pass Object.new, the above outputs:
    #<WIN32OLE:0x2a04408>
    #<WIN32OLE:0x2a043f0>

If I try adding p ARGV[4].ole_methods, I get the following error:
... in 'ole_methods': failed to GetTypeInfo (RuntimeError)

I've also tried:
    session = WIN32OLE.new('Hyperion.HsvSession')

This actually seems to work, in that the method appears to succeed, and
I'm then left with an object that has the right type library info
attached. However, I'm then getting a RuntimeError when I try to call
any method on the resulting session WIN32OLE object.

Any ideas how I might proceed?

Regards,

Adam

-- 
Posted via http://www.ruby-forum.com/.