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

"Close" button on Service start/stop progress windows leads to null windows handle and pipe write failure

    XMLWordPrintable

Details

    Description

      reactos-bootcd-0.4.14-dev-1455-g963d39b-x86-gcc-lin-dbg

      Click on "close" on the service start/stop Progress Windows does nothing and leads to error with 0x0 winwow handle and Pipe write failure

      This is due to "Close" being IDOK (leading to window closure request) while the "infinite loop" waiting for Service to reply being still running in DoControlService / DoStopService / DoStartService functions in a dedicated thread which is not stopped.

      IDD_DLG_PROGRESS DIALOGEX 6, 6, 255, 89
      CAPTION "Service Control"
      FONT 8, "MS Shell Dlg", 0, 0
      STYLE DS_SHELLFONT | WS_BORDER | WS_DLGFRAME | WS_SYSMENU | WS_VISIBLE | DS_MODALFRAME
      BEGIN
       CONTROL "", IDC_SERVCON_PROGRESS, "msctls_progress32", 0x50000000, 8, 46, 238, 13
       LTEXT "", IDC_SERVCON_INFO, 8, 5, 236, 11
       LTEXT "", IDC_SERVCON_NAME, 8, 25, 66, 11
       PUSHBUTTON "&Close", IDOK, 100, 70, 54, 13
      END

      Attachments

        Issue Links

          Activity

            People

              DougLyons DougLyons
              Kyle_Katarn Kyle_Katarn
              Votes:
              4 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: