FIX: StreBlt Sample Causes Windows NT to Hang

ID: Q104681


The information in this article applies to:
  • Microsoft C/C++ Compiler (CL.EXE), included with:
    • Microsoft Visual C++ 32-bit Edition, versions 1.0, 2.0


SYMPTOMS

Running the StreBlt GDI StretchBlt Win32 application programming interface (API) sample can cause Windows NT to hang.


STATUS

Microsoft has confirmed this to be a problem with Windows NT 3.1. This problem is illustrated by the StreBlt sample supplied with Visual C++ 32- bit Edition. The problem was fixed in Windows NT 3.5.

NOTE: This sample was not included with Visual C++, 32-bit Edition, version 4.0.


MORE INFORMATION

To reproduce the problem, follow these steps:

  1. Build the StreBlt sample using the supplied makefile.


  2. The sample displays a dialog box for the main window. There are three drop-down list controls titled StretchBltMode, Pattern, and Standard ROPs. Select the following in these drop-down lists:
    
          StretchBltMode    BLACKONWHITE
          Pattern           NULL_BRUSH
          Standard ROPs     PATPAINT 


At this point Windows NT will hang.

Additional query words: 8.00 9.00 1.00 2.00

Keywords : kbCompiler
Version : :1.0,2.0
Platform : NT WINDOWS
Issue type :


Last Reviewed: January 31, 2000
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.