Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-70744

QAxBase doesn't expose class context properties

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Done
    • Not Evaluated
    • 5.13.0 Alpha 1
    • 5.11
    • ActiveX Support
    • None
    • Visual Studio 2015. Windows 7 & 10.

    • Windows
    • 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.

      Attachments

        Activity

          People

            kleint Friedemann Kleint
            forderud Fredrik Orderud
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: