# Winole32 not Working in latest Winbdows Installer \[was RE: Latest Windows installer is backdated\]

**URL:** <https://rubytalk.org/t/winole32-not-working-in-latest-winbdows-installer-was-re-latest-windows-installer-is-backdated/11197>\
**Category:** ruby-talk\
**Created:** [24 April 2004 11:13 UTC](https://rubytalk.org/t/winole32-not-working-in-latest-winbdows-installer-was-re-latest-windows-installer-is-backdated/11197 "2004-04-24T11:13:18Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![James\_Roshan\_Cogniza](https://avatars.discourse-cdn.com/v4/letter/j/45deac/32.png) [@James\_Roshan\_Cogniza](https://rubytalk.org/u/James_Roshan_Cogniza)\
**Post date:** [24 April 2004 11:13 UTC](https://rubytalk.org/t/winole32-not-working-in-latest-winbdows-installer-was-re-latest-windows-installer-is-backdated/11197/1 "2004-04-24T11:13:18Z")

</div>

Thye have removed the library from the distribution.  
It was unstable.

WMI code like this would bring the system down:

require ‘win32ole’

def disp\_subclasses namespace  
obset = WIN32OLE.connect(“winmgmts:\\.\root”+namespace)  
objs = obset.SubclassesOf()  
objs.each {|cls|  
puts cls.Path\_.Path  
}  
end

disp\_subclasses “\cimv2”

- Roshan

[InterScan\_Disclaimer.txt](https://rubytalk.org/uploads/short-url/2C3THNKxQ9jIXqULnY0IIaOsX5q.txt) (520 Bytes)

---

<div class="post-metadata">

**Author:** ![Curt\_Hibbs3](https://avatars.discourse-cdn.com/v4/letter/c/2acd7d/32.png) [@Curt\_Hibbs3](https://rubytalk.org/u/Curt_Hibbs3)\
**Post date:** [25 April 2004 03:25 UTC](https://rubytalk.org/t/winole32-not-working-in-latest-winbdows-installer-was-re-latest-windows-installer-is-backdated/11197/2 "2004-04-25T03:25:09Z")

</div>

James, Roshan wrote:

> Thye have removed the library from the distribution.  
> It was unstable.

If this is so, then why do I get a “win32ole.so” file created when I build  
Ruby 1.8.1 from the source tarball?

Curt

---

<div class="post-metadata">

**Author:** ![Curt\_Hibbs3](https://avatars.discourse-cdn.com/v4/letter/c/2acd7d/32.png) [@Curt\_Hibbs3](https://rubytalk.org/u/Curt_Hibbs3)\
**Post date:** [26 April 2004 02:51 UTC](https://rubytalk.org/t/winole32-not-working-in-latest-winbdows-installer-was-re-latest-windows-installer-is-backdated/11197/3 "2004-04-26T02:51:13Z")

</div>

Roshan (see below) is telling me that win32ole has been removed from the  
Ruby distribution. Can anyone confirm this?

I’ve searched the web, the ruby-talk ML, and the Ruby 1.8.1 distribution. I  
can’t find any mention of this, and when I build Ruby 1.8.1, the build still  
produces a win32ole.so file.

I was going to try to track down a reported problem with win32ole in the  
Ruby Installer for Windows build, but I don’t want to waste my time on it if  
it was supposed to have been removed.

Thanks,  
Curt

James, Roshan wrote:

> **···**
>
> > They have removed the library [win32ole] from the distribution.  
> > It was unstable.
> > 
> > WMI code like this would bring the system down:
> > 
> > require ‘win32ole’
> > 
> > def disp\_subclasses namespace  
> > obset = WIN32OLE.connect(“winmgmts:\\.\root”+namespace)  
> > objs = obset.SubclassesOf()  
> > objs.each {|cls|  
> > puts cls.Path\_.Path  
> > }  
> > end
> > 
> > disp\_subclasses “\cimv2”

---

<div class="post-metadata">

**Author:** ![daz](https://avatars.discourse-cdn.com/v4/letter/d/87869e/32.png) [@daz](https://rubytalk.org/u/daz)\
**Post date:** [26 April 2004 03:24 UTC](https://rubytalk.org/t/winole32-not-working-in-latest-winbdows-installer-was-re-latest-windows-installer-is-backdated/11197/4 "2004-04-26T03:24:04Z")

</div>

Curt Hibbs wrote:

> Roshan (see below) is telling me that win32ole has been removed from the  
> Ruby distribution. Can anyone confirm this?

Doesn’t ring any alarms.

Maybe he’s thinking about an announcement that Win32API will be  
removed in favour of Ruby/DL ? [talk:94543]

It’s in CVS, so if it was removed, it’s back now. (?)

daz
