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

"CoInitialize has not been called" spam in debugger

    XMLWordPrintable

Details

    • Windows

    Description

      I get huge amounts of spam in the debugger when running Qt Quick applications like the following:

      onecore\com\combase\objact\objact.cxx(834)\combase.dll!00007FFD13278CC7: (caller: 00007FFD13278046) ReturnHr(231) tid(2018) 800401F0 CoInitialize has not been called.

      It's caused by the call to SHParseDisplayName in shellNormalizeFileName in qqmlengine.cpp, which is called in the QQmlThread. I think you need to call CoInitialize to use that API properly?

      Attachments

        Issue Links

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

          Activity

            People

              qtqmlteam Qt Qml Team User
              patstew Patrick Stewart
              Votes:
              8 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes