Uploaded image for project: 'Core ReactOS'
  1. Core ReactOS
  2. CORE-10562

Static initializers in shell32 called multiple times on MSVC builds

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 0.4.0
    • None

    Description

      Constructors for global objects in shell32 are called 2 times.

      both CRT_INIT and _do_global_ctors call into the list of initializers.

      The hack here:
      https://git.reactos.org/?p=reactos.git;a=blob;f=reactos/dll/win32/shell32/shell32.cpp;hb=594dd74e61cb2589983bae7d95f3f04c07077082#l293
      makes some constructors even be called 3 times.

      Attachments

        Activity

          People

            ThFabba ThFabba
            learn_more Mark Jansen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: