Microsoft KB Archive/211605

= WD2000: Error Message: The RTF File .\ Is Corrupted at Offset... =

Article ID: 211605

Article Last Modified on 8/9/2004

-

APPLIES TO


 * Microsoft Word 2000 Standard Edition

-



This article was previously published under Q211605





SYMPTOMS
When you attempt to compile a Word 2000 Rich Text Format (RTF) file in the Help Compiler that ships with Microsoft Visual C++ 4.0 or the Microsoft Visual C++ 4.02 Help Workshop, the following error messages may appear:

HC4002: Warning: The RTF file .\ is corrupted at offset <###>

HC4005: Warning:The .\ help file has not been created.



CAUSE
Word 97 and Word 2000 write a few new RTF flags. The older Help Compilers do not correctly discard the new RTF flags and instead attempt to process them. Because the flags are new, the Help Compiler fails during the compilation process.



RESOLUTION
This problem is corrected in Help Workshop version 4.03, which is available for download from the Microsoft Download Center.

The following file is available for download from the Microsoft Download Center:

Hcwsetup.exe

For additional information about how to download Microsoft Support files, click the following article number to view the article in the Microsoft Knowledge Base:

119591 How to Obtain Microsoft Support Files from Online Services

Microsoft scanned this file for viruses. Microsoft used the most current virus-detection software that was available on the date that the file was posted. The file is stored on security-enhanced servers that help to prevent any unauthorized changes to the file.

An updated Help Workshop version 4.02 is available through the following sources:

Microsoft Office 97, Developer Edition

Microsoft Developer Network - Library - Jan 97

Updated Microsoft Help Workshop 4.02

\HELPSHOP\SETUP.EXE

Microsoft Visual C++ for Windows Version 5

Enterprise and Professional Editions

\DevStudio\Vc\Unsupported Tools\Hcw

NOTE: Visual Studio 97 ships the older 4.01 compiler.



MORE INFORMATION
Help Workshop is a program that you use to create Help (.hlp) files, edit project and contents files, and test and report on Help files. Help Workshop takes the information in the project (.hpj) file to combine the topic (.rtf) files, bitmaps, and other sources into one Help file that can be viewed using the Microsoft Windows Help program.

Help WorkShop 4.02 compiles Help files from RTF written by the 16-bit versions of Word, such as Word 6.0, and also the 32-bit versions such as Word 7.0, 97, and 2000.

Help Workshop 4.02 does not compile projects created in the MS-DOS version of the Help Compiler.

A Help file created in Help Workshop 4.02 does not run under Windows 3.x, because Help Workshop 4.02 creates 32-bit Help files, and Windows 3.x is a 16-bit operating environment.

Additional query words: help compiler rtf Hcwsetup exe

Keywords: kbdownload kbfix kbinterop kbprb kb3rdparty kbfaq KB211605

-

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

© Microsoft Corporation. All rights reserved.