mondokkia has asked for the wisdom of the Perl Monks concerning the following question:

Hi monks. I've been using 64bit perl 5.16.3 on Windows Server 2008 R2 to send emails using Office 2010 64 bit just fine. Then one day the company decided it had enough of Office 2010 and upgraded to Office 2013 64 bit and now the codes are broken.

The problem started with the const as below

use Win32::OLE::Const 'Microsoft Outlook'

and the error being

No typelib matching "Microsoft Outlook:...

Strange that it worked with Office 2010 64 bit but now it's busted. I tried combing the registry for clues but couldn't find any. Any monks out there who know what the problem is?

Many thanks

Replies are listed 'Best First'.
Re: Win32 OLE on Office 2013 64 bit
by Corion (Patriarch) on Dec 08, 2013 at 08:25 UTC

    Is the typelib for Microsoft Outlook installed? Can you see it as a Reference in the VBA editor of Excel?

      You mean checking in the Object Browser? If yes, then I do see the classes for Outlook

        Anyone can help?