Compiled win32ole 0.5.3?

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.

···


Chris
http://clabs.org/blogki
-=-=-=-=-=-=-=-=-=-=-=-=-=-
Free solo piano album (mp3)
http://cministries.org/cstudios/blackandwhite.htm

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’)

···

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.


Shusaku tsyk@yk.rim.or.jp

Shusaku wrote:

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

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

···

Chris
http://clabs.org/blogki

“Shusaku” tsyk@yk.rim.or.jp wrote in message

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.

^^^^^^^^^^^
Where is the source for win32ole 0.5.4 ?
On RAA, I only got the versions up to 0.5.3 … is it available some where
else?

If your binary was downloaded from http://rubyinstaller.sourceforge.net/,
ruby180-9.exe, which is preview2 anyway, contains win32ole 0.5.4 also.

[snip]

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’)

But it did not seem to make any difference.

Shusaku tsyk@yk.rim.or.jp

Thank you very much.

– shanko

Where is the source for win32ole 0.5.4 ?
On RAA, I only got the versions up to 0.5.3 … is it available some where
else?

ftp://ftp.ruby-lang.org/pub/ruby/1.8/ruby-1.8.0-preview3.tar.gz

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.

···

On Mon, 21 Jul 2003 22:46:31 -0500 “Shashank Date” sdate@everestkc.net wrote:


Shusaku tsyk@yk.rim.or.jp