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

Snappy Driver Installer suffers from GDI issue in r66899 ( and before DIB commits too)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Fix Version/s: 0.4.0
    • Component/s: None
    • Labels:
      None

      Description

      Snappy Driver Installer is an application for installing/updating drivers on PCs running Microsoft Windows using driverpacks or included folders with drivers. It can be used to install drivers on newly assembled PCs at places where Internet isn't available. Users can also use the software to keep their drivers up to date.

      http://www.mediafire.com/download/095ppy8yt4ep99a/ - Snappy Driver Installer (version without layared windows)

      BRUSH problem is not fixed.

      https://jira.reactos.org/secure/attachment/28558/gdi.rar - test application for issue
      http://pastebin.com/tgCHrP0c - hello world code
      Square should be blue inside

      affected C++ code

      ==== does not work ====

      oldbrush=(HBRUSH)SelectObject(hdc,GetStockObject(color1&0xFF000000?NULL_BRUSH:DC_BRUSH));
      r32=SetDCBrushColor(hdc,color1);

      === works in ReactOS ===

      HBRUSH br;
      br=CreateSolidBrush(color1);
      oldbrush=(HBRUSH)SelectObject(hdc,br);

        Attachments

        1. CORE-9423_test.c
          1 kB
        2. ReactOS sdi.png
          ReactOS sdi.png
          27 kB
        3. ReactOS sdi5.png
          ReactOS sdi5.png
          35 kB
        4. ReactOS sdi8.png
          ReactOS sdi8.png
          423 kB
        5. windows.JPG
          windows.JPG
          23 kB

          Issue Links

            Activity

              People

              • Assignee:
                ThePhysicist Timo Kreuzer
                Reporter:
                Jedi-to-be Jedi-to-be
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: