CygWin win32ole ADODB.Connection module not found

Discussion in 'Ruby' started by Jesper Quorning, Feb 29, 2012.

  1. I need Your help...

    I can not create an ADODB.Connection with cygwin/ruby.
    I can create the connection with native ruby and in a Visual Basic
    script.

    What is wrong with my CygWin ruby ?

    <ruby code>
    #!/usr/bin/ruby

    require 'win32ole'

    con = WIN32OLE.new('ADODB.Connection')
    </ruby code>

    <result>
    /minimal.rb:5:in `initialize': failed to create WIN32OLE object from
    `ADODB.Connection' (WIN32OLERuntimeError)
    HRESULT error code:0x8007007e
    </result>

    Versions:
    Windows 7 Professional Service Pack 1, 32 bit

    $ ruby --version
    ruby 1.8.7 (2012-02-08 patchlevel 358) [i386-cygwin]
     
    Jesper Quorning, Feb 29, 2012
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. KLomax
    Replies:
    1
    Views:
    2,060
    Munsifali Rashid
    Dec 2, 2003
  2. Ara.T.Howard
    Replies:
    2
    Views:
    169
    Ara.T.Howard
    Aug 7, 2005
  3. Masaki Suketa
    Replies:
    4
    Views:
    399
    Dave Burt
    Mar 27, 2006
  4. zxem
    Replies:
    1
    Views:
    252
  5. Lutz Mueller
    Replies:
    0
    Views:
    251
    Lutz Mueller
    Oct 5, 2010
Loading...

Share This Page