Does anybody know a way i can get Perl to read the Total/In Use RAM Counters on a 64Bit Windows Server 2k3 with 8Gb+ Ram???
If you know of a Windows API function that returns the values you want, then you could access that function from perl using XS or Inline::C.
Obviously, on a 32-bit perl, such an XSub could not return a 'uv' (long) value, as 'uvs' aren't guaranteed to be large enough to store the value being returned. But you could have the XSub return the value to perl as an 'nv' (double) or a 'pv' (string).
On your 64-bit perl, the XSub could simply return the value as a 'uv' (since it uses 64-bit uvs).
I would expect that such a Windows API function does exist ... presumably the modules in question are accessing that Windows API function with Win32::API. Do you know which Windows API function(s) you need to access ?
Cheers, Rob
Comment on Re^2: Cross-Compile Perl Modules for Win x64