Hi,

> Ruby 1.8.1-13
> Windows 2000
> Win32OLE 0.5.5
> 
> I'm trying to build a pure Ruby version of
> sys-proctable for Windows
> using the WMI interface.  The code below gives me a
> segfault if I use
> the block form, but not if I use the non-block form.

I tested your code snippet with two Ruby versions.
With Ruby 1.8.1-13 it segfaulted. But with a Ruby
built with MinGW (the one that I'm currently using),
it didn't segfault.

You can check out the output at:
http://www.geocities.com/joaopedrosa/test.txt

Windows 2000
C:\>ruby -v
ruby 1.8.2 (2004-05-19) [i386-mingw32]
C:\>ruby -rwin32ole -e 'p WIN32OLE::VERSION'
"0.5.5"

Besides that, I am useless :)

Cheers,
Joao


	
		
__________________________________
Do you Yahoo!?
Yahoo! Domains Claim yours for only $14.70/year
http://smallbusiness.promotions.yahoo.com/offer