BUG: _floodfill() May Hang Drawing Highly Complex Borders

Last reviewed: July 22, 1997
Article ID: Q116309
7.00 | 1.00 1.50 MS-DOS | WINDOWS kbprg kbbuglist

The information in this article applies to:

  • The C Run-time (CRT), included with:

        - Microsoft C/C++ Compiler for MS-DOS, version 7.0
        - Microsoft Visual C++ for Windows, versions 1.0 and 1.5
    

SYMPTOMS

An application that uses the _floodfill() graphics library routine to fill an area of the display may hang if the region being filled has a very complex boundary.

STATUS

Microsoft has confirmed this to be a bug in the products listed at the beginning of this article. We are researching this bug and will post new information in the Microsoft Knowledge Base as it becomes available.

MORE INFORMATION

The sample code used to reproduce this problem used a data file too large to include here. The application used the data file to draw a map of the world, and the _floodfill() function was used in an attempt to fill the areas of the map covered by the ocean. The region of the map that _floodfill() had problems with involved the complex coastline of the area around Baffin Island in the Arctic Ocean.


Additional reference words: 7.00 1.00 1.50
KBCategory: kbprg kbbuglist
KBSubcategory: CRTIss GraphicsIss
Keywords : kb16bitonly


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: July 22, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.