Re: Win32::OLE version conflict problem...please help




<josh.dewinter@xxxxxxxxx> wrote in message
news:1170183475.134999.89270@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
..
..

Win32::OLE object version 0.1701 does not match $Win32::OLE::VERSION
0.1702 at C:/Perl/lib/DynaLoader.pm line 225.


The conflict is between OLE.dll (version 0.1701) and OLE.pm (version
0.1702). Win32::OLE ships as standard with ActivePerl, so it's hard to see
how the mismatch could have arisen - but it obviously has happened, and
definitely needs to be resolved.

Either someone has botched an attempt to upgrade Win32::OLE, or an
installation/upgrade of ActivePerl has been botched. Either way, it sounds
like a problem created by someone with Admin rights - and would best be
fixed by someone with Admin rights (by re-doing the "botched" attempt
correctly).

Win32::OLE is part of libnet. If you can find a version of libnet whose
source contains version 0.1701 of Win32::OLE you could fix the problem
yourself. One such fix would be to then copy the Win32::OLE source files to
a directory that you *can* write to (say, C:\my_user\stuff) and then start
your scripts with:

use lib 'C:/my_user/stuff';

It would be messy (as there's a number of .pm files that constitute the perl
part of Win32::OLE, and they would all need to be located correctly under
C:\my_user\stuff) but it could be done. But for that to work you would need
to first find the source of version 0.1701 of Win32::OLE. (I took a look at
libnet sources on CPAN and couldn't find such a version of Win32::OLE.)

Much better if the problem is fixed properly by someone with the requisite
permissions.

Cheers,
Rob


.