BUG: Windows NT Hangs When PolyBezier Gets Certain Coordinates

Last reviewed: January 30, 1996
Article ID: Q137762
The information in this article applies to:
  • Microsoft Win32 Software Development Kit (SDK) for Windows NT, version 3.51

SYMPTOMS

PolyBezier causes Windows NT version 3.51 to hang (stop responding to input) when certain valid coordinates are passed to it. To get out of it, you have to turn off the computer. For example, the following valid coordinates cause the problem when they are passed to PolyBezier:

point[0].x =102; point[0].y =532; point[1].x =221; point[1].y =180; point[2].x =340; point[2].y =-172; point[3].x =459; point[3].y =-524;

Other apparently unrelated coordinates can also cause the problem.

WORKAROUND

To work around this bug, try using the PolyBezier32s() function, which is described in the following article in the Microsoft Knowledge Base:

ARTICLE-ID: Q135058

TITLE     : SAMPLE: How to Draw Cubic Bezier Curves in Windows and Win32s

STATUS

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

NOTE: This bug will be fixed in a later release of Windows NT.


Additional reference words: Graphics Crash Hang Curves
KBCategory: kbprg kbbuglist
KBSubcategory: GdiMisc


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: January 30, 1996
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.