Anyone have a pre-compiled win32ole 0.5.3 available for download? I’m having
some seg faults with 0.5.2 and ruby 1.8p3 and want to see if 0.5.3 takes
care of them or not.
If your binary was downloaded from http://rubyinstaller.sourceforge.net/,
ruby180-9.exe, which is preview2 anyway, contains win32ole 0.5.4 also.
But, it is hidden by version 0.5.2 which is located in preceding load path.
Anyone have a pre-compiled win32ole 0.5.3 available for download? I’m having
some seg faults with 0.5.2 and ruby 1.8p3 and want to see if 0.5.3 takes
care of them or not.
If your binary was downloaded from http://rubyinstaller.sourceforge.net/,
ruby180-9.exe, which is preview2 anyway, contains win32ole 0.5.4 also.
But, it is hidden by version 0.5.2 which is located in preceding load path.
Ah – I started with 180-9.exe, then overlaid 1.8p3 from dm4lab.to.
You’re correct about 0.5.4 being in there. I removed the 0.5.2 on the
site_ruby path and now with 0.5.4 the seg faults seem to be fine now (I
discovered a segfault talking to ADO this morning with 0.5.2).
(My other IE problem that I contacted you about off-list I’ll have to
confirm at home tonight).
I have confirmed that following code produces a “[BUG] Segmentation fault”
with win32ole 0.5.2 and 0.5.3. The version 0.5.4 is safe to do this.
I tried the code with version 0.5.4 which I got from your site mentioned
above
but I still keep getting the following error:
···
This application has requested the Runtime to terminate it in an unusual
way.
Please contact the application’s support team for more information.
Interrupted!
Interrupted!
Tool completed with exit code 4
require ‘win32ole’
ie = WIN32OLE.new(‘InternetExplorer.Application’)
ev = WIN32OLE_EVENT.new(ie, ‘DWebBrowserEvents’)
^^^^^^^^^^^^^^^^^
I changed this to :
vvvvvvv
ev = WIN32OLE_EVENT.new(ie,‘DWebBrowserEvents2’)
The win32ole 0.5.4 source code is in the ruby source archive
though I don’t know why the 0.5.4 is not available on RAA.
but I still keep getting the following error:
This application has requested the Runtime to terminate it in an unusual
way.
To figure out where is a problem, I would recommend to try it
with ruby-1.6.8. If it runs successfully, probably 1.8.0-preview
has something wrong with win32ole. If it does not run, probably
your Windows has something wrong with OLE Automation.
I guess you are using Windows 2000 according to your previous
postings. I am using it too, and I don’t get such error.