outlookoffice365ole

outlook version 1.2025.328.300 causes OLE error running on code that quite happily runs against previous version


We have a powerbuilder application that runs OLE automation on outlook with

li_rc = lole_outlook.ConnectToNewObject("outlook.application")

This code works fine with previous versions of Outlook, but after the user was updated to version 1.2025.328.300 (office shows as 16.0.18623.20156) this fails every time with an OLE error saying it could not start the OLE server. We now have several customers with the same issue.

Setting the machine to use the previous version of Outlook solves the problem in all cases.

Some users have stated that they have had issues updating and this might have given an incorrect or partial install of the new version that was not configured for OLE properly.

Is there a later version that fixes this issue? Is there a fix with registry editing that can help here?

Thanks for any feedback.


Solution

  • 1.2025.328.300 is the new Outlook (Monarch) that has absolutely nothing in common (except for the word "Outlook" in the name) with the desktop version of Outlook. The new Outlook exposes no API whatsoever.