BUG: SAVEIMAGE May Cause Error DX1020 in SVGA Display ModesLast reviewed: July 13, 1995Article ID: Q110087 |
The information in this article applies to:
SYMPTOMSUsing the SAVEIMAGE function in a high resolution Super VGA mode may produce the following error during program execution:
DOSXMSF : fatal error DX1020: unhandled exception: General protection fault; CAUSEThe error occurs when attempting to save regions close to the entire size of the display. The exact region that causes the GP fault varies according to the display adapter used.
RESOLUTIONSelect smaller regions of the display to save as Windows .BMP files. For example, an entire screen could be stored in two .BMP files.
STATUSMicrosoft has confirmed this to be a problem in FORTRAN PowerStation for MS- DOS. This problem does not occur on FORTRAN PowerStation 32.
MORE INFORMATIONCompile and run the sample code on a PC with an ATI Graphics Ultra to generate the following error on the second call to SAVEIMAGE:
Sample CodeCompile options needed: none include 'fgraph.fi' include 'fgraph.fd' i= setvideomode($XRES16COLOR) i= saveimage('savimag1.bmp',0,0,1023,510) i= saveimage('savimag2.bmp',0,0,1023,511) end |
Additional reference words: 1.00 gpf gp-fault
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |