Article ID: 269629 - Last Review: February 21, 2007 - Revision: 3.3 Regedt32.exe Truncates REG_MULTI_SZ Entries Longer Than 1,024 CharactersThis article was previously published under Q269629 SYMPTOMS
Regedt32.exe splits a string that is longer than 1,024 characters by inserting a null character within the string after 1,024 characters. If you open a REG_MULTI_SZ value that has a string that is longer than 1,024 characters and click OK to save it, the string is split after 1,024 characters and a null character is inserted.
CAUSE
When Regedt32.exe reads from the dialog box, strings that are longer than 1,024 characters are truncated because EM_GETLINECOUNT and EM_LINEINDEX are being used, which return only the length of the first line. Strings longer than 1,024 bytes are treated as multiple-line strings.
RESOLUTIONTo resolve this problem, obtain the latest service pack for Windows 2000. For additional information, click the following article number to view the article in the
Microsoft Knowledge Base:
260910
(http://support.microsoft.com/kb/260910/EN-US/
)
How to Obtain the Latest Windows 2000 Service Pack
The English version of this fix should have the following file attributes or later:
Date Time Version Size File name ----------------------------------------------------- 08/09/00 09:26a 5.0.2195.2103 139,536 Regedt32.exe STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article. This problem was first corrected in Windows 2000 Service Pack 2. MORE INFORMATIONFor additional information about how to install Windows 2000 and Windows 2000 hotfixes at the same time, click the article number below
to view the article in the Microsoft Knowledge Base:
249149
(http://support.microsoft.com/kb/249149/EN-US/
)
Installing Microsoft Windows 2000 and Windows 2000 Hotfixes
| Article Translations
|
Back to the top
