Hehehehe...not always you get to answere your own questions.
I found the problem in the function uniqueflnm, it uses SYS(3) to generate a temp MEM file name and on fast machines the value does not have time to change so I got one MEM file overwriting the other and then when the restore takes place all f* memvars are gone.
>Hi,
>
>I am responsible for supporting a foxpro 2.6 for Windows application (yes
>there are still some out there).
>
>The problem I am having is every so often it refuse to build. I get a genscrnx screen with the following error. Variable ‘FSPROUT’ not found. I have tried copying in backup copies of the project which are known to work. I believe it is somehow or another exhausting resources.
>
>Any assistance would be greatly appreciated.
>
>Thanks,
Magnus NordinVFP MCP
"We have tested the GUI on 5-year olds. Why? Beacuse they aren't braindead!"
Michael Spindler, Apple