Try running the command regsvr32 AutoItX3.dll at the command line where the
autoit dll lives. Also make sure you have administrator rights on your
machine, otherwise it won't work correctly.

-Charley

On 4/24/07, Russ DeWolfe <[EMAIL PROTECTED]> wrote:

 I have installed AutoIT, including the dll and the autoitx active x
control and here is what I get:

irb(main):001:0> require 'win32ole'
=> true
irb(main):002:0> autoit = WIN32OLE.new('AutoItX3.Control')
WIN32OLERuntimeError: unknown OLE server: `AutoItX3.Control'
    HRESULT error code:0x800401f3
      Invalid class string
        from (irb):2:in `initialize'
        from (irb):2:in `new'
        from (irb):2

Thanks for the help

Russ

_______________________________________________
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

_______________________________________________
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to