Please visit DEMANDDRAFT.SHOP for quality of products...

Ad

Search This Blog

Tuesday, December 18, 2012

HOW to Make ActiveX controls Safe for scripting/ Safe for Initialization in VC++

When - IE security Level set to Medium/High
Solution:

1) Implement IObjectSafety interface in the control .

2: Add the following entries in the registry for components implemented categories

{7DD95801-9882-11CF-9FA9-00AA006C42C4}
{7DD95802-9882-11CF-9FA9-00AA006C42C4}

HKEY_CLASSES_ROOTComponent
Categories{7DD95801-9882-11CF-9FA9-00AA006C42C4}

HKEY_CLASSES_ROOTComponent
Categories{7DD95802-9882-11CF-9FA9-00AA006C42C4}

No comments:

Post a Comment