Help and Support
 

powered byLive Search

WD97: Error Message: 'The RTF File .\<Filename> Is Corrupted at Offset...'

Retired KB ArticleThis article was written about products for which Microsoft no longer offers support. Therefore, this article is offered "as is" and will no longer be updated.
Article ID:164012
Last Review:January 19, 2007
Revision:2.2
This article was previously published under Q164012

SYMPTOMS

When you attempt to compile a Word 97 Rich Text Format (RTF) file in the Help Compiler that ships with Microsoft Visual C++ 4.0 or the Microsoft Visual C++ 4.2 Help Workshop, you may receive the following error messages:
HC4002: Warning:

The RTF file .\<filename> is corrupted at offset <###>
HC4005: Warning: The .\<filename> help file has not been created.

Back to the top

CAUSE

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

Back to the top

RESOLUTION

This problem is corrected in Help Workshop version 4.03.
The following file is available for download from the Microsoft Download Center:
Hcwsetup.exe (http://download.microsoft.com/download/word97win/utility/4.03/win98/en-us/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 (http://support.microsoft.com/kb/119591/EN-US/) 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. 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.

Back to the top

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 both by the 16-bit versions of Word, such as Word 6.0, and also the 32-bit versions such as Word 7.0 and Word 97.

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 the Help Workshop 4.02 creates 32-bit help files and Windows 3.x is a 16-bit operating environment.

Back to the top

REFERENCES

For additional information about the Microsoft Office 97 Developer Edition, please see the following article in the Microsoft Knowledge Base:
162962 (http://support.microsoft.com/kb/162962/EN-US/) New Features in MS Office 97 Developer Edition Tools

Back to the top


APPLIES TO
Microsoft Word 97 Standard Edition

Back to the top

Keywords: 
kb3rdparty kbfaq kbfix kbinterop kbprb KB164012

Back to the top

Article Translations

 

Other Support Options

  • Need More Help?
    Contact a Support professional by Email, Online or Phone.
  • Customer Service
    For non-technical assistance with product purchases, subscriptions, online services, events, training courses, corporate sales, piracy issues, and more.
  • Newsgroups
    Pose a question to other users. Discussion groups and Forums about specific Microsoft products, technologies, and services.