Causes of Help Compiler Error 5059

Last reviewed: July 23, 1997
Article ID: Q90292
3.10 WINDOWS kbtool

The information in this article applies to:

  • Microsoft Windows Software Development Kit (SDK) for Windows version 3.1

SYMPTOMS

The Help compiler generates the following error:

   Error 5059: Not enough memory to build help file.

CAUSE

Cause 1

There is a graphic larger than 64K pasted directly into the RTF source files. This violates the 64K paragraph size limit.

Cause 2

The Help compiler is truly out of memory.

Cause 3

There is a corrupted graphic in the project.

RESOLUTION

Resolution 1

The graphic must be placed into the RTF source file "by reference." For more information on graphics in Windows Help, please see the following article(s) in the Microsoft Knowledge Base:

   ARTICLE-ID: Q90291
   TITLE     : Using Graphics Within a Help File

Resolution 2

All unneeded applications, device drivers, and memory-resident programs should be unloaded before attempting to compile. If the HC31 compiler is being used, an upgrade to the "protected mode" version of the Help compiler is available so that larger files may be compiled. For additional information on this compiler, please see the following article(s) in the Microsoft Knowledge Base:

   ARTICLE-ID: Q84931
   TITLE     : Use Extended Memory to Build Larger Windows Help Files

If any other causes of this error message are found, the information will be posted here.

Resolution 3

Replace the corrupted graphic with one that is not corrupted.


Additional reference words: 3.10 HC.EXE HC31.EXE HC31
KBCategory: kbtool
KBSubcategory: TlsHlp
Keywords : kb16bitonly TlsHlp kbtool
Version : 3.10
Platform : WINDOWS


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: July 23, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.