Regarding Botp's configuration using Windows XP...

"Pe?a, Botp" <botp / delmonte-phil.com> wrote in message news:<1030AB5FAD0A3847B7B1F7B93332AFB501E181F0 / bgmail00.delmonte-phil.com>...
> Yonatan of yonatan_avraham at hotmail.com humbly asked:
> 
> > I'm trying to do some WMI stuff with Ruby.  I found this 
> > simple example somewhere.  It works -- until the program 
> > exists that is. 
> > Then Windows pops up a "ruby.exe - Application Error" message 
> > box due to inappropriate memory access.
> > 
> > require 'win32ole'
> > 
> > mgmt = WIN32OLE.connect('winmgmts:\\\\.')
> > mgmt.InstancesOf("win32_process").each{ |proc| 
> >    puts proc.name
> > }
> > `pause`
> > 
> > Does anyone know how to solve the problem?  I'm running "ruby 1.8.0
> > (2003-08-04) [i386-mswin32]" on Windows 2000.
                                    ^^^^^^^^^^^^
> 
> I cannot solve it but I can compare it w mine.
> 
> c:\family\ruby>ver
> Microsoft Windows XP [Version 5.1.2600]
            ^^^^^^^^^^
> 

....I just installed Ruby 1.8 on an Windows XP box and the WMI example
works fine.  I then installed it on another Windows 2000 box and the
WMI example crashes.  Any ideas?

Thanks,
Yonatan