Hi.
--- In [email protected], "brucexs" <[EMAIL PROTECTED]> wrote:
> local ms = dll.create_struct("dword dword INT64 INT64 INT64 INT64
> INT64 INT64 INT64")
There seems to be something wrong with int64, don't know what exactly,
Alan might know, but "h" always worked for me:
local ms = dll.create_struct("ui[2] uh[7]")
ms[1] = (ms.size)
dll.call("GlobalMemoryStatusEx|t*", ms)
I also just have 2 Gigs, so need for int64-arithmetics, right?
win.debug(ms[3] / 1024 / 1024)
gives me 1919 for actual physical memory, which seems to correct.
Mr. 3-Gig could give it a try then ...
Mockey