Microsoft KB Archive/841383

= Problems when you insert text into a RichEdit control =

Article ID: 841383

Article Last Modified on 11/4/2007

-

APPLIES TO


 * Microsoft Windows XP Professional
 * Microsoft Windows XP Home Edition
 * Microsoft Windows 2000 Advanced Server
 * Microsoft Windows 2000 Professional Edition
 * Microsoft Windows 2000 Server

-





SYMPTOMS
In Microsoft Windows XP or in Microsoft Windows 2000, when you insert text into a RichEdit control in a custom program that uses the Riched20.dll file, you may experience any one or more of the following symptoms:
 * You cannot insert text next to hidden characters in the edit control.
 * You cannot put the pointer before a hidden block of text at the beginning of the edit control.
 * When put the pointer at the end of a line of text and before a block of hidden text, and then you press the ENTER key, nothing happens.



CAUSE
This problem occurs because of a bug in the Riched20.dll file.



Service pack information
To resolve this problem, obtain the latest service pack for Microsoft Windows XP. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

322389 How to obtain the latest Windows XP service pack

Prerequisites
You must have Windows XP service pack 1 installed to apply this hotfix.

Restart requirement
You do not have to restart the computer after you apply this hotfix.

Hotfix replacement information
This hotfix does not replace any other hotfixes.

File information
The English version of this hotfix has the file attributes (or later) that are listed in the following table. The dates and times for these files are listed in coordinated universal time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.

Windows XP, 64-bit editions
  Date         Time   Version       Size       File name      Platform 28-Apr-2004 23:16  5.30.23.1220  1,441,792  Riched20.dll   IA-64 28-Apr-2004 22:58  5.30.23.1220    424,448  Wriched20.dll  x86

Windows XP, 32-bit editions
  Date         Time   Version       Size     File name ---  28-Apr-2004  22:58  5.30.23.1220  424,448  Riched20.dll

Prerequisites
You must have Windows 2000 service pack 3 installed to apply this hotfix.

Restart requirement
You do not have to restart the computer after you apply this hotfix.

Hotfix replacement information
This hotfix does not replace any other hotfixes.

File information
The English version of this hotfix has the file attributes (or later) that are listed in the following table. The dates and times for these files are listed in coordinated universal time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.   Date         Time   Version       Size     File name ---  28-Apr-2004  19:16  5.30.23.1220  412,944  Riched20.dll



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section. This problem was first corrected in Microsoft Windows XP Service Pack 2.



MORE INFORMATION
For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

824684 Description of the standard terminology that is used to describe Microsoft software updates

Keywords: kbqfe kbhotfixserver kbwinxpsp2fix kbtshoot kbwinxppresp2fix kbfix kbbug KB841383

-

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

© Microsoft Corporation. All rights reserved.