| delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| X-SWARE-Spam-Status: | No, hits=-0.2 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW |
| X-Spam-Check-By: | sourceware.org |
| Received-SPF: | pass (google.com: domain of jquorning DOT dupontco AT gmail DOT com designates 10.52.90.20 as permitted sender) client-ip=10.52.90.20; |
| Authentication-Results: | mr.google.com; spf=pass (google.com: domain of jquorning DOT dupontco AT gmail DOT com designates 10.52.90.20 as permitted sender) smtp.mail=jquorning DOT dupontco AT gmail DOT com; dkim=pass header.i=jquorning DOT dupontco AT gmail DOT com |
| MIME-Version: | 1.0 |
| Date: | Wed, 29 Feb 2012 12:14:12 +0100 |
| Message-ID: | <CAFSyAoSDQzk_-Q6YoGT6hEvhQ7ZgmjQU9qSG=8xeu2z=c=n04Q@mail.gmail.com> |
| Subject: | Ruby win32ole ADODB.Connection module not found |
| From: | Jesper Quorning <jquorning DOT dupontco AT gmail DOT com> |
| To: | cygwin AT cygwin DOT com |
| X-IsSubscribed: | yes |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Id: | <cygwin.cygwin.com> |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
| X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id q1TBEZJj007927 |
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
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |