Hi Larry
you can modify your object by replacing the external function so:
GlobalMemoryStatusEx local exernal function definition is:
Subroutine GlobalMemoryStatus (ref os_memorystatus memorystatus ) Library "KERNEL32.DLL" alias for "GlobalMemoryStatusEx"
the new os_memorystatus definition is:
type os_memorystatus from structure
unsignedlong ul_length
unsignedlong ul_memoryload
longlong ll_totalphys
longlong ll_availphys
longlong ll_totalpagefile
longlong ll_availpagefile
longlong ll_totalvirtual
longlong ll_availvirtual
longlong ll_AvailExtendedVirtual
end type
before calling the api you ave to set
lstr_memory.ul_length = 64 instead of 32
hope this helps
Alberto