Does anyone know of a function that detects the amount of physical memory in a machine.

Cheers
Peter

P.S this is to run under windows