in reply to Errors while running Win32::Process on WinXP

As I wrote Befroe, it seems the error is in the Win32::OLE
since I tried to find the Win32::OLE version so I wrote:

C:\>perl -MWin32::OLE::Const -e "die $Win32::OLE::Const::VERSION"
and the output was
Win32::OLE object version 0.1403 does not match $Win32::OLE::VERSION 0 +.17 at C:/Perl/lib/DynaLoader. pm line 253. Compilation failed in require at C:/Perl/lib/Win32/OLE/Const.pm line 7 +. BEGIN failed--compilation aborted at C:/Perl/lib/Win32/OLE/Const.pm li +ne 7. Compilation failed in require. BEGIN failed--compilation aborted.
does antone knows how to deal with this error?

Replies are listed 'Best First'.
Re^2: Errors while running Win32::Process on WinXP
by Mr. Muskrat (Canon) on Dec 30, 2004 at 16:16 UTC

    The Win32 libraries should reside under X:/Perl/lib/Win32 (where X is the drive you installed Perl on). You can do one of the following.

    1. move the Win32 directory from c:/Perl/lib to c:/Perl/site/lib (ending up with OLE::Const at c:/Perl/lib/Win32/OLE/Const.pm) and reinstall Win32::OLE
    2. or delete the Win32 directory from c:/Perl/lib/ and reinstall any missing modules