Yes, good point, but line 2 is use Win32::OLE qw(EVENTS);
so the code below crashes before there is any mention of "InternetExplorer.Application". /Thomas -----Oprindelig meddelelse----- Fra: Foo Ji-Haw [mailto:[EMAIL PROTECTED] Sendt: 9. februar 2006 04:26 Til: Thomas Mostrup Nymand Cc: perl-win32-users@listserv.ActiveState.com Emne: Re: Problem loading OLE.dll on Windows 98 >When I try to use Win32::OLE as in the following script: > >#!/usr/bin/perl >use Win32::OLE qw(EVENTS); >my $IE = Win32::OLE->new("InternetExplorer.Application") > || die "Could not start Internet Explorer.Application\n"; > >I get the following error: > >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 > >Permissions seem to be OK on OLE.dll, and Im running the same Cygwin >version on XP without problems. > >Any hints would be greatly appreciated! > > A shot in the dark: different versions of IE may have different object names? After all, IE3 on Win98 is pretty far off. _______________________________________________ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs