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

dumpcpp tool not working for x64 components

    XMLWordPrintable

Details

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

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            kleint Friedemann Kleint
            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