Microsoft KB Archive/86407

= PRB: Windows Write Does Not Load under Pen Windows =

Article ID: 86407

Article Last Modified on 1/9/2003

-

APPLIES TO


 * Microsoft Windows for Pen Computing 1.0

-



This article was previously published under Q86407



SYMPTOMS
On some machines equipped with Microsoft Windows for Pen Computing or the Pen Extensions to Microsoft Windows, an attempt to load Microsoft Windows Write fails with the following message:

Not enough memory for Write to complete this operation



CAUSE
Some of the video drivers provided with version 1.0a of Windows for Pen Computing do not have an IDC_PEN cursor resource.



RESOLUTION
New drivers have been released. Make sure that you have the updated drivers.



MORE INFORMATION
If the IDC_PEN resource is missing from the video driver, when an application calls LoadCursor to retrieve the IDC_PEN cursor, the call will fail. However, the IDC_PEN cursor is also located in the PENWIN.DLL dynamic-link library (DLL). If an application fails to load the IDC_PEN cursor from the video driver, it can use the following code to load the cursor from PENWIN.DLL: hpencursor = LoadCursor(GetSystemMetrics(SM_PENWINDOWS), IDC_PEN); The bedit and hedit controls load the cursor from PENWIN.DLL if they can't load the cursor from the video driver. This explains why an application using these controls can use a pen cursor while another application running simultaneously fails to load the pen cursor.

Please contact your original equipment manufacturer (OEM) to receive information about the availability of an updated video driver.

Additional query words: 1.00a 3.10

Keywords: kbprb KB86407

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.