javascriptinternet-exploreractivexocx

OCX/ActiveX dll function is not callable in IE


I have one OCX control installed it my machine using regsvr32 command. Then I have added the object tag,

<object classid="clsid:GUID"

Now, I am calling the global function of OCX from the machine which is working. Then I tested the same on another machine it doesn't work. In short, it works someplace and someplace it doesn't. I have enabled ActiveX on all machines.

Am I missing something that the same OCS works in one machine and doesn't work in other machines?


Solution

  • In the end, ActiveX was enabled (as per the article https://support.microsoft.com/en-us/topic/use-activex-controls-for-internet-explorer-11-25738d05-d357-39b4-eb2f-fdd074bbf347 thanks Yu Zhou). My OCX control was dependent upon a fingerprint device driver. When I installed the missing dependencies it works perfectly. http://www.dependencywalker.com/ and OleView are helpers to find the missing dependencies