Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Save and Restore Screen

Status
Not open for further replies.

Gilesy

Programmer
Jul 2, 2002
40
GB
Hi all
Does anyone know what the limits are (if any) in terms of memory size, for these commands. In XP and 2000 we are getting crashes.
SAVE SCREEN TO memvar
....code....
RESTORE SCREEN FROM memvar

Restore screen crashes with error 9 or error 12. My guess is that there is a limit to the size of this, but I couldn't find any information describing these specifics.

[yoda]
 
save screen and restore screen are just saving and restoring the foxpro screen.
Nothing fancy.
Perhaps you should publish a little more from the code around the "problem area" in order to get more help.

Rob.
 
A lot depends on the current screen resolution, screen size and the color depth. I frequently get error 43 in FPW (Insufficient Memory).

Are you getting these in FP DOS?

Rick
 
Morning guys,
It's FP Windows and the user has a huge resolution, 1280 x 1024, 32 bit colour.
After the SAVE SCREEN it shells out to a dos bat program and restore is activated when that is complete. It's very old code written in 94.
We've told the user to change the screen resolution down and this seems to prevent the error. (Why they want to use such a resolution beats me!)

[cheers]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top