On Sat, 19 Jul 2003 09:34:44 -0500
"Chris Morris" <chrismo / clabs.org> wrote:

> 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.

Where did your ruby-1.8.0-preview3 binary come from?

If your binary was downloaded from http://www.dm4lab.to/~usa/ruby/index_en.html,
ruby-1.8.0-preview3-i386-mswin32.zip contains win32ole 0.5.4 already.

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.

  c:/ruby/lib/ruby/site_ruby/1.8/i386-msvcrt/win32ole.so --> 0.5.2
  c:/ruby/lib/ruby/1.8/i386-mswin32/win32ole.so          --> 0.5.4

You may have complaint about it.

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.

require 'win32ole'
ie = WIN32OLE.new('InternetExplorer.Application')
ev = WIN32OLE_EVENT.new(ie, 'DWebBrowserEvents')

-- 
Shusaku <tsyk / yk.rim.or.jp>