CygWin win32ole ADODB.Connection module not found

J

Jesper Quorning

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]
 

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. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,904
Latest member
HealthyVisionsCBDPrice

Latest Threads

Top