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

QAxBase doesn't expose class context properties

    XMLWordPrintable

    Details

    • Type: Suggestion
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Done
    • Affects Version/s: 5.11
    • Fix Version/s: 5.13.0 Alpha 1
    • Component/s: ActiveX Support
    • Labels:
      None
    • Environment:

      Visual Studio 2015. Windows 7 & 10.

    • Platform/s:
      Windows
    • Commits:
      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

        For Gerrit Dashboard: QTBUG-70744
        # Subject Branch Project Status CR V

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes