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

dumpcpp tool not working for x64 components

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3: Somewhat important
    • Resolution: Done
    • Affects Version/s: 5.14.2
    • Fix Version/s: 5.15.2, 6.1.1, 6.2.0 Alpha
    • Component/s: ActiveX Support
    • Labels:
      None
    • Platform/s:
      Windows
    • Commits:
      782710f23604b7437417540c2d44aec06c42f3ba (qt/qtactiveqt/dev) 792046651cf904590d2e6a57253380d4b129b070 (qt/qtactiveqt/5.15)

      Description

      Given a registered x64 ActiveX control

      When I run `dumpcpp "{CLSID}" on the command line

      Then an error with message "dumpcpp: type library '' not found" is displayed.

       

      However, it works with x86 versions of the active controls and the tools dumpdoc and testcon have no problems with the x64 version.

       

      After looking at the source code (dumpcpp/main.cpp) this is due to a hard coded "win32" registry subkey at two different places. 64-bit controls are however registered with a "win64" subkey. Changing "win32" to "win64" works.

       

      This problem might affect multiple versions of Qt.

        Attachments

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

          Activity

            People

            Assignee:
            kleint Friedemann Kleint
            Reporter:
            ulib Ulrich Berkmüller
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes