Internet Explorer security restrictions on ActiveX components in a Windows service

  • Thread starter Thread starter Blair424
  • Start date Start date
B

Blair424

Guest
I have a simple ATL ActiveX component that is in a Windows service. I can create an instance of this component and use its methods in a little MFC test application that I wrote. However, I cannot create an instance of the component in my Javascript code in IE 11. If I put the ATL ActiveX component in an ActiveX server (a DLL or an EXE) that is not a Windows service, my Javascript code can create an instance in IE 11. By the way, I used IObjectSafetyImpl to mark my ActiveX component as safe for scripting. Is there a security setting in IE that will allow it to create an ActiveX component that is in a Windows service? Or is there some code I need to add to my ActiveX component? Thanks!

Continue reading...
 
Back
Top