BUG: Windows NT Hangs When PolyBezier Gets Certain Coordinates
Article ID: 137762
Article Last Modified on 7/11/2005
APPLIES TO
- Microsoft Platform Software Development Kit-January 2000 Edition, when used with:
- Microsoft Windows NT Server 3.51
- Microsoft Windows NT Workstation 3.51
This article was previously published under Q137762
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.
To work around this bug, try using the
PolyBezier32s() function, which is described in the following article in the Microsoft Knowledge Base:
135058SAMPLE: How to Draw Cubic Bezier Curves in Windows and Win32s
STATUS
Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.
NOTE: This bug will be fixed in a later release of Windows NT.
Additional query words: Graphics Crash Hang Curves
Keywords: kbbug kbpending KB137762