--- In [email protected], "brucexs" <bswit...@...> wrote: > > > Internally, there is a function that returns a 32 bit result that I'd have to > redesign a bit.
Pmem gives megabytes anyway so why not use GlobalMemoryStatusEx() when possible and as soon as possible convert the result to a DWORD, say dwFreeMem = MEMORYSTATUSEX::ullAvailPhys / (1<<20). 32 bits is plenty for a number of megabytes. - Vince
