Hi Peter
I have found that the sudden drop in memory usage only happens if the vfp app goes from a non-minimized state to a minimized state. VFP does not even fire its internal memory free-up routine if the app is not visible! In other words I tried
With _SCREEN
.visible=.F.
.WindowState=2
.WindowState=1
.Visible=.T.
EndWith
but vfp did nothing iro memory since it apparently realizes that it is not visible so therefore does not need to do the windowstate changes and therefore no memory clean up. Otherwise the above would be great LOL.
Jos
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.