Forum: Ruby Win32OLE: how to pass parameters by reference?

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Jan S. (Guest)
on 2007-01-03 13:07
(Received via mailing list)
On 1/2/07, Jan S. <removed_email_address@domain.invalid> 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:

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
This topic is locked and can not be replied to.