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

In reply to Re^2: Cross-Compile Perl Modules for Win x64 by syphilis
in thread Cross-Compile Perl Modules for Win x64 by fatmcgav

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.