The information in this article applies to:
SYMPTOMS
Programs may generate a protection violation under OS/2 or hang the machine
under MS-DOS when that program passes a HUGE array element to a subroutine.
In most cases, the coproccesor must be used for the error to occur.
CAUSEThe compiler does not check every array access to verify if it crosses a segment boundary, and was not designed to do so. RESOLUTION
Try using the HUGE memory model by compiling with /AH to allow arrays to
span segments.
MORE INFORMATIONThe following code reproduces the error:
Additional query words: 5.10
Keywords : |
Last Reviewed: November 1, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |