Masaki Suketa
2/5/2007 11:00:00 AM
In message "Re: WIN32OLE in ruby windows one click installer"
on 07/02/04, Shin guey Wong <sgwong513@hotmail.com> writes:
> >From the latest version, it shows that it has fix some VT_ARRAY bugs.
> So, do I need the new version to use my com dll?
Ruby 1.9.0 is not the stable version, neither Win32OLE(especially
WIN32OLE_VARIANT features).
So, try at your own risk.
I am not sure, but I'm afraid that the new version might not
work in your situation...
Before you try the new version, could you try the following with
the current version?
def FindAllAvmc(arg0)
# specify VT_BYREF|VT_ARRAY|VT_VARIANT instead of
# VT_BYREF|VT_ARRAY|VT_DISPATCH
ret = @dispatch._invoke(2, [arg0], [VT_BYREF|VT_ARRAY|VT_VARIANT])
@lastargs = WIN32OLE::ARGV
ret
end
Regards,
Masaki Suketa