Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Win32:OLE errors when running same code on Windows XP

by Anonymous Monk
on Aug 10, 2012 at 00:12 UTC ( [id://986627]=note: print w/replies, xml ) Need Help??


in reply to Win32:OLE errors when running same code on Windows XP

Hi,

If the directoy trees of the old and new boxes match, and if the programs in the direcotries are all the same, I would assume there is a problem with the setup of the new Perl.

I would try re-installing the Win32::ole stuff looking for any error. If that doesn't help, try installing Perl 5.14 to try and match your old setup exactly.

If it still doesn't work, do it all again until it does.

J.C.

Replies are listed 'Best First'.
Re^2: Win32:OLE errors when running same code on Windows XP
by HelenCr (Monk) on Aug 10, 2012 at 04:37 UTC

    Indeed when I've installed Win32::OLE I noticed some complaints that a few modules couldn't be installed, since Win32::OLE needs Visual C compiler, and StrawberryPerl has gcc.

    But I noticed the same warnings when I had installed the original system on the Windows 7 system, and there there are no problems. Those modules are not mainstream anyway.

      I just double-checked Strawberry Perl's web site. According the release notes, versions 5.14.2.1 and 5.16.0.1 (in both 32-bit and 64-bit) already include Win32::OLE. As a further check, I downloaded the portable versions and they all have Win32::OLE.

      Also, the latest version of Win32::OLE was released in 2008. That means versions 5.14.2.1 and 5.16.0.1 of Strawberry Perl would have the latest version of the module.

      Based on that information, is there a reason that you're trying to reinstall Win32::OLE in your Strawberry Perl installations?

        dasgar: Thanks for your effort.

        I didn't re-install it. As far as I recollect, I asked cpanp to install it, and I think it came back quickly and said: "already installed".

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://986627]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (5)
As of 2024-03-28 09:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found