Details
-
Suggestion
-
Resolution: Done
-
Not Evaluated
-
5.11
-
None
-
Visual Studio 2015. Windows 7 & 10.
-
-
60fbd8540c162447868fe03895bb8d45a1ea4a0b (qtactiveqt/dev, 27.9.2018,5.13)
Description
TheĀ QAxBase::setControl method doesn't provide any mechanism for configuring the "class context" for the ActiveX control. Instead, it's hardcoded to always pass CLSCTX_SERVER when calling CoCreateInstance to create the control.
Introduction of configurable "class context" would enable programmatic switching between in-proc and out-of-proc startup of ActiveX controls that support both alternatives. It could also enable startup of the control in a restricted "sandboxed" environment if used together with CLSCTX_ENABLE_CLOAKING and an impersonation token.