Microsoft Knowledge Base

FIX: Sample File Fixes OpenGL's DIB-Resizing Bug

Last reviewed: October 29, 1997
Article ID: Q145888
4.00 WINDOWS kbgraphic kbfixlist kbbuglist kbfile

The information in this article applies to:

  • Microsoft Win32 Software Development Kit (SDK) for Microsoft Windows 95

SYMPTOMS

On the Windows 95 version of OpenGL, if you use OpenGL to render to a bitmap by using a memory DC and a new (larger) bitmap is selected into the memory DC, then the new bitmap dimensions are not recognized and drawing is limited to the old bitmap size.

RESOLUTION

Download the fix (OGLFIX.EXE), and then read the Readme.txt file included before installing the fix onto your system.

You can find OGLFIX.EXE, a self-extracting file, on these services:

  • Microsoft's World Wide Web site on the Internet

          On the www.microsoft.com home page, click the Support icon
          Click Knowledge Base, and select the product
          Enter kbfile OGLFIX.EXE, and click GO!
          Open the article, and click the button to download the file
    
  • Internet (anonymous FTP)

          ftp ftp.microsoft.com
          Change to the Softlib/Mslfiles folder
          Get OGLFIX.EXE
    
  • The Microsoft Network

          On the Edit menu, click Go To, and then click Other Location
          Type "mssupport" (without the quotation marks)
          Double-click the MS Software Library icon
          Find the appropriate product area
          Locate and Download OGLFIX.EXE
    
  • Microsoft Download Service (MSDL)

          Dial (206) 936-6735 to connect to MSDL
          Download OGLFIX.EXE
    

For additional information about downloading, please see the following article in the Microsoft Knowledge Base:

   ARTICLE-ID: Q119591
   TITLE     : How to Obtain Microsoft Support Files from Online Services

STATUS

Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. This bug was corrected in OpenGL32.dll which is contained in OGLFIX.EXE.


Additional reference words: 4.00 OpenGL PFD_DRAW_TO_BITMAP DIB resize
KBCategory: kbgraphic kbfixlist kbbuglist kbfile
KBSubcategory: GdiOpenGL
Keywords : GdiOpenGL kbbuglist kbfile kbfixlist kbgraphic
Version : 4.00
Platform : WINDOWS
Solution Type : kbfix


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: October 29, 1997
©1997 Microsoft Corporation. All rights reserved. Legal Notices.