Neil Toulouse
Programmer
faq184-3504
I don't know if anyone uses this function, or if this issue has been reported, but my app fell over today because of it! Caused by too much RAM ;-)
Anyway easy fix, change:
...to
MSDN reference:
I like work. It fascinates me. I can sit and look at it for hours...
I don't know if anyone uses this function, or if this issue has been reported, but my app fell over today because of it! Caused by too much RAM ;-)
Anyway easy fix, change:
Code:
DECLARE GlobalMemoryStatus IN Win32API STRING @lpMemoryStatus
lpMemoryStatus = REPLICATE(CHR(0), 32)
GlobalMemoryStatus(@lpMemoryStatus)
...to
Code:
DECLARE GlobalMemoryStatusEx IN Win32API STRING @lpMemoryStatus
lpMemoryStatus = REPLICATE(CHR(0), 32)
GlobalMemoryStatusEx(@lpMemoryStatus)
MSDN reference:
I like work. It fascinates me. I can sit and look at it for hours...