From: Masaki Suketa Date: 2012-08-11T20:09:08+09:00 Subject: [ruby-core:47128] Re: [ruby-trunk - Bug #6829] Failure using Win32ole (happens in 1.8.7 and 1.9 Thank you for your reporting of the result and more information. Could you try the following script using Ruby 1.9? tlib = WIN32OLE_TYPELIB.new("(The folder of SMUI.TLIB)\SMUI.TLIB") (or tlib = WIN32OLE_TYPELIB.new("(The folder of SMUI.DLL)\SMUI.DLL") ) method = tlib.ole_types.map{|t| t.ole_methods }.flatten.find{|m| /PrintPostageEx/i =~ m.name } method.params.each do |param| puts param.name + ":" + param.ole_type_detail.join(',') end And can you call PrintPostageEx from VBScript(neither VB nor VB.NET)? If you can't call PrintPostageEx from VBScript, then you can't call PrintPostageEx from Win32OLE. Win32OLE supports only late binding, not early binding. Best Regards, Masaki Suketa