Compiled win32ole 0.5.3?

S

Shusaku

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')
 
C

Chris Morris

Shusaku said:
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).
 
S

Shashank Date

Shusaku said:
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.

Thank you very much.

-- shanko
 
S

Shusaku

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:

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,756
Messages
2,569,534
Members
45,007
Latest member
OrderFitnessKetoCapsules

Latest Threads

Top