ActiveX component cannot create object

Using the 64-bit version of Windows 7. I get the error message "ActiveX component cannot create the object." Everything worked well under WinXp. I am registered as an administrator. ActiveX is a 32-bit component.

I can access the ActiveX component (using CreateObject), without errors, from the vb program.

But when I load my asp page using IE8, the vb script part errors when trying to execute the CreateObject statement.

At first I thought that the user needed elevated privileges, but now it seems that vbs does not have privileges to access the ActiveX component. I also read that the 64-bit vbs interpreter cannot execute the 32-bit activex component.

+3
source share
1 answer

ActiveX is a DLL. A 64-bit host process cannot load a 32-bit DLL and vice versa. Therefore, first of all, you need to target this problem, and then approach the security problems (if you continue).

There is a way to load 32-bit ActiveX from a 64-bit process by creating an outproc server, but I don’t know the details.

+1
source

Source: https://habr.com/ru/post/1793687/


All Articles