quote:
Originally posted by CookieRevised
Mind you that it is win95, that works totaly different then XP for the matter of memory... The pentium runs very fast (for a pentium 75Mhz). The memory returned is the total free physical memory. And win95 uses all the available physicial memory when you're idling for its own processes simply because it isn't used (and that's much more efficient then using swap-space.) This doesn't mean that you don't have any free memory at all. As soon as applications are running, the used physical memory is given back for that. Hence, the function used for getting the available memory will only return the total free physicial memory (wich was just below 1MB so it showed 0). It doesn't return the total available memory (including virtual memory)
Yes, the function is showing physical memory only (MemoryStatus.dwAvailPhys and MemoryStatus.dwTotalPhys).
Thanks everyone for testing