Hello,
When I use the code from this article it gives me an error on this line:
End TypePublic Declare Sub GlobalMemoryStatus _
Why does it do this?
Thanks,
Justin Sampson
Printable View
Hello,
When I use the code from this article it gives me an error on this line:
End TypePublic Declare Sub GlobalMemoryStatus _
Why does it do this?
Thanks,
Justin Sampson
I guess there was a typing error. It should be this:
End Type
Public Declare Sub GlobalMemoryStatus Lib "kernel32" (lpBuffer As MEMORYSTATUS)