The information in this article applies to:
SYMPTOMSIn Microsoft Windows version 3.1, an attempt to run an application linked with Microsoft LINK fails and Windows displays the following message: In Windows version 3.0, an attempt to run the application causes the computer to hang. CAUSEThe module-definition (.DEF) file for the application contains a HEAPSIZE MAXVAL statement. The error occurs because the data segment is 64K; Windows requires 16 free bytes in each application's data segment. RESOLUTIONModify the module-definition file such that the value specified for the HEAPSIZE added to the size of the DGROUP segment is no larger than 64K - 16 bytes. STATUSMicrosoft has confirmed this to be a problem in LINK versions 5.3, 5.31.009, and 5.5 for MS-DOS and version 5.31 for OS/2. This problem was corrected in LINK for MS-DOS version 5.6. MORE INFORMATIONHEAPSIZE MAXVAL sets the heap size to 64K minus the size of DGROUP. This does not leave the required 16 bytes free. Additional query words: 5.01.20 5.01.21 5.02 5.03 5.05 5.10 5.11 5.13 5.15 5.20 5.30 5.31.009 5.50
Keywords : kb16bitonly |
Last Reviewed: October 27, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |