From: Jeff Date: 2007-03-01T10:19:58+09:00 Subject: Re: Win32OLE trouble (custom ocx) On Feb 28, 6:28 pm, Barry Walker wrote: > When I call any of the methods using .invoke or ._invoke I get the same > error message. This error is also the same if the method requires > arguments or not. > > test.rb:6:in 'invoke':method_name (or '_invoke':_invoke) > (WIN32OLERuntimeError) > OLE error code:0 in > > HRESULT error code:0x8000ffff > Catastrophic failure from test.rb:6 > > Can anyone point me toward the problem? I'm pretty sure that HRESULT indicates a null pointer error. My guess is it's expecting an argument that you're not passing, or something like that. What is on line 6 of your script? Jeff forum.softiesonrails.com