in reply to Integration with 64 Bit Office installs

Only 64bit applications can talk to 64bit OLE / COM.

You will need to upgrade your Perl to a 64bit Perl. You will likely need to download and install all modules required by your application(s) again.

Strawberry Perl offers a 64bit 5.24, for example.

I recommend first trying a 5.38 or 5.40 version of Perl, since there was very little in terms of breaking changes in-between.

  • Comment on Re: Integration with 64 Bit Office installs

Replies are listed 'Best First'.
Re^2: Integration with 64 Bit Office installs
by v705Cas (Initiate) on Mar 21, 2025 at 17:16 UTC

    Hi there, thanks for the suggestion, but as stated, this is not an option as this would require a lot of time. Just looking for a quick fix to get the Outlook.pm functional with 64 bit installs

      Not going to happen. The issue is with Win32::OLE compiled against a 32 bit perl, it won't have access to 64bit COM objects. You can't just package your app, provide a 32 & 64 bit version?

        Could you explain then why others seeking to solve the same problem worked around it by simply manually editing their registry keys? See https://stackoverflow.com/questions/25509960/how-to-make-win32ole-work-on-64bit-ms-office-installation for an example. However this is not an option for me as I cannot edit the registry of every machine this app needs to be used.

        As stated, I am looking for pointers to a quick n dirty hack of the module files to make progress without having to recompile the entire app against a 14 or 16 versions later code base. I'll be there for much longer than I have access to with nothing to show for it.