VERIFIED SOLUTION i

Integrated Mapping MapBasic applications fail with the error: "ActiveX can't create object" on 64-bit versions

Products affected: MapInfo Pro™

Issue

When using a MapBasic Integrated Mapping application in the 32-bit versions of MapInfo Pro, users can execute commands using:

Dim MI as object 
Set MI = CreateObject("Mapinfo.Application") 
MI.DO "Open Table ...................." 

However, if users try this in the 64-bit versions of MapInfo Pro, the following error is encountered: 

"ActiveX can't create object" on the line: Set MI = CreateObject("Mapinfo.Application") 

Cause

The classid for 64-bit versions of MapInfo Pro COM has changed.

Resolution

UPDATED: October 26, 2017
The call to CreateObject should use "MapInfo.Application.x64", like so:

Set mapinfo = CreateObject("MapInfo.Application.x64")

The application would need to be modified with the updated classid mentioned above.