Hi Rob
You are absolutely right,  perl -MWin32::OLE -e 'print "ok\n"' triggers
the same error:

$ perl -MWin32::OLE -e 'print "ok"'
Can't load
'/usr/lib/perl5/vendor_perl/5.8/cygwin/auto/Win32/OLE/OLE.dll' for
module Win32::OLE: Permission denied at
/usr/lib/perl5/5.8/cygwin/DynaLoader.pm line 230.
 at -e line 0

I checked permissions in the path, and they are drwxr-xr-x on all
directories in the path.

Under /usr/lib/perl5/vendor_perl/5.8/cygwin/auto/ I have Tk installed
and Im perfectly able to generate windows from perl using Tk.
Proc::Processtable also has a dll in that path, and I can instantiate
that also...

Hmm...

/Thomas


-----Oprindelig meddelelse-----
Fra: Sisyphus [mailto:[EMAIL PROTECTED] 
Sendt: 9. februar 2006 11:09
Til: Thomas Mostrup Nymand; [email protected]
Emne: Re: Problem loading OLE.dll on Windows 98


----- Original Message ----- 
From: "Thomas Mostrup Nymand" <[EMAIL PROTECTED]>
.
.

>
> Can't load
> '/usr/lib/perl5/vendor_perl/5.8/cygwin/auto/Win32/OLE/OLE.dll' for
> module Win32::OLE: Permission denied at
> /usr/lib/perl5/5.8/cygwin/DynaLoader.pm line 230. at r.pl line 2
>

As you're subsequent post points out, the error occurs simply from
trying to
load Win32::OLE. I doubt that you even have to specify 'qw(EVENTS)' to
trigger the error. I presume you could get a similar error by running:

perl -MWin32::OLE -e 'print "ok\n"'

I don't have Cygwin ... but I don't believe I've heard of the situation
where an error message that starts with "Permission denied ..." has ever
meant anything other than "there is a permissions problem". Could it be
a
problem with directory permissions (if file permissions are ok) ?

What other modules have dll's under the
'/usr/lib/perl5/vendor_perl/5.8/cygwin/auto/' tree ? Can you load those
modules successfully ?

Cheers,
Rob




_______________________________________________
Perl-Win32-Users mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to