DOCUMENT:Q90292 06-NOV-1999 [win16sdk] TITLE :Causes of Help Compiler Error 5059 PRODUCT :Microsoft Windows Software Development Kit PROD/VER:WINDOWS:3.1 OPER/SYS: KEYWORDS:kb16bitonly ====================================================================== ------------------------------------------------------------------------------- The information in this article applies to: - Microsoft Windows Software Development Kit (SDK) 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: Q90291 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: Q84931 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 query words: 3.10 HC.EXE HC31.EXE HC31 ====================================================================== Keywords : kb16bitonly Technology : kbAudDeveloper kbWin3xSearch kbSDKSearch kbWinSDKSearch kbWinSDK310 Version : WINDOWS:3.1 ============================================================================= 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. Copyright Microsoft Corporation 1999.