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

    What is wrong with my CygWin ruby ?

    <ruby code>

    require 'win32ole'

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

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

    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. Advertisements

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.