I am using ruby with COM objects. On certain COM function calls the
output of: COMFunction(arg1,arg2)should produce #N/A, or nil presumably
in Ruby, however the following occurs:
I am using ruby with COM objects. On certain COM function calls the
output of: COMFunction(arg1,arg2)should produce #N/A, or nil presumably
in Ruby, however the following occurs:
I cannot explain the details, cause i’m a tester and no programmer but
for WATIR which drives the Internet Explorer with win32ole it is
recommended to use Ruby 1.8.2. With 1.8.5 i too got segmentation
faults.
I cant produce an exmaple here since it would require me to upload the
dll’s. It appears that Win32ole cannot handle arrays of this sort which
return (#N/A).
Any ideas?
Watir includes a patched win32ole.so library that is compiled to work
with 1.8.2 only. This is the cause of your error.
The next release of 1.5 will not use this library unless 1.8.2 is
installed. (This patch is required for the modal dialog support, so
modal dialogs can only work with watir with 1.8.2 – unless you port
the patch to 1.8.5.)
The next release of 1.5 will not use this library unless 1.8.2 is
installed. (This patch is required for the modal dialog support, so
modal dialogs can only work with watir with 1.8.2 – unless you port
the patch to 1.8.5.)
I cant produce an exmaple here since it would require me to upload the
dll’s. It appears that Win32ole cannot handle arrays of this sort which
return (#N/A).
Any ideas?
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.