>I am attempting to fine-tune an app to run at best speed across a number of workstations with varying memory, processor, and video configurations.
>
>This app is a database cruncher that basically runs unattended against huge batches of data. The machines it runs on will be dedicated to it, and virtually no user interaction will be involved. When this app runs I want it to use as much physical memory as possible to increase processing speed.
>
>I'd like to use sys(3050) to tune memory usage on startup based on what the OS is reporting on each particular machine.
>
>Is there a function/dll/OCX/?? somewhere that I can call from VFP8 or above that can tell me the amount of available physical memory according to Windows (a la what WINMSD reports)?
Check the
www.news2news.com/vfp/ site for the api function GlobalMemoryStatus - it will give you physical memory installed and free memory available.
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.