On Sun, 03 Mar 2002 14:26:48 GMT, Masaki Suketa <masaki.suketa / nifty.ne.jp> wrote: >Hello, Robert, Thank you for your report! >In message "Re: Using Win32OLE with Excel leaves Excel process hanging" > on 02/03/02, "Robert C. Martin" <u.n.c.l.e.b.o.b. / .o.b.j.e.c.t.m.e.n.t.o.r.d.o.t.c.o.m> <unparsable-address> writes: > >> irb(main):002:0* require 'win32ole' >> true >> irb(main):003:0> puts "Win32OLE: #{WIN32OLE::VERSION}" >> Win32OLE: 0.2.6 >> nil >> irb(main):004:0> puts "Ruby: #{RUBY_VERSION}(#{RUBY_RELEASE_DATE})" >> Ruby: 1.6.4(2001-06-04) > >Win32OLE 0.2.6 is too old. Try the latest version 0.4.0. >My environment is Windows 2000, Excel 2000, Win32OLE 0.4.0 >and your script works fine on my environment. >(I can stop excel.exe process after ruby.exe process terminated.) Thank you! I should have thought of that myself before posting here. Robert C. Martin | "Uncle Bob" Object Mentor Inc.| unclebob @ objectmentor . com PO Box 5757 | Tel: (800) 338-6716 565 Lakeview Pkwy | Fax: (847) 573-1658 | www.objectmentor.com Suite 135 | | www.XProgramming.com Vernon Hills, IL, | Training and Mentoring | www.junit.org 60061 | OO, XP, Java, C++, Python | You and I can enjoy the experience of not always seeing eye-to-eye, but we can also respect each other, even when you might find some idea of mine totally ludicrous. -- Richard Riehle