Microsoft KB Archive/137762

{|
 * width="100%"|

BUG: Windows NT Hangs When PolyBezier Gets Certain Coordinates

 * }

Q137762

-

The information in this article applies to:


 * Microsoft Win32 Software Development Kit (SDK), used with:
 * Microsoft Windows NT Server version 3.51
 * Microsoft Windows NT Workstation 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. To work around this bug, try using the PolyBezier32s function, which is described in the following article in the Microsoft Knowledge Base:

"Q135058SAMPLE: 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.

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

Additional query words: Graphics Crash Hang Curves

Keywords : kbOSWinNT351 kbSDKWin32 kbDSupport

Issue type : kbbug

Technology : kbWin32SDKSearch kbAudDeveloper kbSDKSearch kbWin32sSearch