[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Win32OLE: how to pass parameters by reference? [Solved]

Jano Svitok

1/3/2007 11:07:00 AM

On 1/2/07, Jan Svitok <jan.svitok@gmail.com> wrote:
> Hi,
>
> I need to call an OLE method that takes a VARIANT argument, and fills
> it with data. How can I accomplish this? Somewhere in the ruby-cvs
> attic I've found WIN32OLE_VARIANT, unfortunately it is removed now.
>
> Long obj.GetX(varX As Variant)
>
> long is success/error, varX is the actual value for X.
> invoke_kind of the method is FUNC.

I'll answer my own question:

http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-t...
http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-t...

Later I've even found that there's a .rd doc file, that doesn't made
it into rdoc.

Another place that would need more documentation, especially
WIN32OLE::ARGV