Article ID: 110087
Article Last Modified on 10/2/2003
APPLIES TO
- Microsoft FORTRAN PowerStation 1.0 Standard Edition
- Microsoft Fortran PowerStation 1.0a for MS-DOS
This article was previously published under Q110087
SYMPTOMS
Using the SAVEIMAGE function in a high resolution Super VGA mode may produce the following error during program execution:
CAUSE
The 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.
RESOLUTION
Select smaller regions of the display to save as Windows .BMP files. For example, an entire screen could be stored in two .BMP files.
STATUS
Microsoft has confirmed this to be a problem in FORTRAN PowerStation for MS- DOS.
This problem does not occur on FORTRAN PowerStation 32.
MORE INFORMATION
Compile 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 Code
Compile 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 query words: nofpsnt 1.00 gpf gp-fault
Keywords: KB110087