Can't open iMacros on a 64 bit machine

2019-06-08 17:33发布

问题:

I have a macro that works fine on 32 bit machines. When trying to run it on a 64 bit machine, I get a error message (ActiveX component can't create object) when it hits this line of code:

Set iim1 = CreateObject("iMacros")

Up until now, all of these macros have been run on 32 bit machines. 64 machines are just begging to appear in our environment. Any ideas or suggestions on how to resolve this issue would be greatly appreciated. Thanks for the help........

回答1:

iMacros works fine for me on x64. The "trick" is you need to make sure that the activex is registered as x64, so the 64bit apps can "see" it. Usually the installer takes care of this.

Have you tried to manually registering it?

cmd /c %WinDir%\Microsoft.NET\Framework64\v4.0.30319\regasm.exe /register /codebase iiminterface.dll /u /tlb