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

    • Bug
    • Resolution: Fixed
    • Major
    • 0.4.0
    • None
    • 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
          Timo Kreuzer
        2. ReactOS sdi.png
          27 kB
          Jedi-to-be
        3. ReactOS sdi5.png
          35 kB
          Jedi-to-be
        4. ReactOS sdi8.png
          423 kB
          Jedi-to-be
        5. windows.JPG
          23 kB
          Jedi-to-be

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: