PRB: Bitmap Causes Windows Help Compiler Out-of-Memory Error

Last reviewed: July 23, 1997
Article ID: Q86332
3.10 WINDOWS kbtool kbprg kbprb

The information in this article applies to:

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

SYMPTOMS

When version 3.1 of the Microsoft Windows Help Compiler compiles an RTF (rich-text format) file, the compiler runs out of memory. This occurs in the HC31.EXE application running under MS-DOS or OS/2 and in the HCP.EXE application that uses extended memory under MS-DOS.

CAUSE

The RTF file contains a pasted bitmap larger than 64K.

RESOLUTION

Remove the bitmap from the RTF source and store it in a file. Import the bitmap into the RTF source file by reference. For more information on importing a bitmap by reference, see page 29 of the "Microsoft Windows Software Development Kit: Programming Tools" manual, and pages 258-260 of the "Microsoft Windows Software Development Kit: Programmer's Reference, Volume 4: Resources" manual.

This problem does not occur with help compiler version 4.0 (HCW.EXE).


Additional reference words: 3.10
KBCategory: kbtool kbprg kbprb
KBSubcategory: TlsHlp
Keywords : kb16bitonly


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.