Unsolved How to add IObjectSafety for activex controls made by Qt?
-
I can add IObjectSafety for ocx controls made by MFC as this:
DECLARE_INTERFACE_MAP() BEGIN_INTERFACE_PART(ObjectSafety, IObjectSafety) STDMETHOD(GetInterfaceSafetyOptions)(REFIID riid, DWORD __RPC_FAR *pdwSupportedOptions, DWORD __RPC_FAR *pdwEnabledOptions); STDMETHOD(SetInterfaceSafetyOptions)(REFIID riid, DWORD dwOptionSetMask, DWORD dwEnabledOptions); END_INTERFACE_PART(ObjectSafety)
but, i don't know how to add it in Qt. Give me your hands please. Thank you~
-
Can anybody help?
-
@zhangsi I'm not sure how this MFC question is related to Qt?
What do you want to achieve? -
@jsulm I hope that this message can disappear. (without certificate)
An ActiveX Control on this page is not safe...
-
@zhangsi Hi, I think it's possible to add IObjectSafety for your ActiveQt controls, either by subclassing your QAxxxx class or encapsulating it. Are you using QAxFactory or some other QAx.. class for you controls?