public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* ADO does not work from bash
@ 2011-02-09 12:30 Rafael Kitover
  2011-02-13 12:10 ` Rafael Kitover
  0 siblings, 1 reply; 2+ messages in thread
From: Rafael Kitover @ 2011-02-09 12:30 UTC (permalink / raw)
  To: cygwin

I first reported this problem to the Win32::OLE Perl module RT queue,
but as it turns out, the problem is in the Cygwin shell environment and
not in the Cygwin perl or the module.

From Cygwin bash:

$ perl -MWin32::OLE -wle 'Win32::OLE->new("ADODB.Connection")'
Win32::OLE(0.1709) error 0x8007007e: "The specified module could not be
found" at -e line 1

In a cmd.exe window:

c:\users\rkitover>c:\cygwin\bin\perl -MWin32::OLE -wle
"Win32::OLE->new(q{ADODB.Connection})"

c:\users\rkitover>

that executes successfully.

Any ideas what can cause this?

It seems unlikely to be environment variables as Cygwin leaves most
environment variables alone, and COMSPEC is still set to cmd.exe.

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: ADO does not work from bash
  2011-02-09 12:30 ADO does not work from bash Rafael Kitover
@ 2011-02-13 12:10 ` Rafael Kitover
  0 siblings, 0 replies; 2+ messages in thread
From: Rafael Kitover @ 2011-02-13 12:10 UTC (permalink / raw)
  To: cygwin

On 2/9/2011 7:30 AM, Rafael Kitover wrote:
> I first reported this problem to the Win32::OLE Perl module RT queue,
> but as it turns out, the problem is in the Cygwin shell environment and
> not in the Cygwin perl or the module.
> 
> From Cygwin bash:
> 
> $ perl -MWin32::OLE -wle 'Win32::OLE->new("ADODB.Connection")'
> Win32::OLE(0.1709) error 0x8007007e: "The specified module could not be
> found" at -e line 1
> 
> In a cmd.exe window:
> 
> c:\users\rkitover>c:\cygwin\bin\perl -MWin32::OLE -wle
> "Win32::OLE->new(q{ADODB.Connection})"
> 
> c:\users\rkitover>
> 
> that executes successfully.
> 
> Any ideas what can cause this?
> 
> It seems unlikely to be environment variables as Cygwin leaves most
> environment variables alone, and COMSPEC is still set to cmd.exe.

Anyone have an idea?

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-02-13 12:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-09 12:30 ADO does not work from bash Rafael Kitover
2011-02-13 12:10 ` Rafael Kitover

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).