Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.
  • Use the NT version (Score:3, Informative)

    by djberg96 (2603) on 2003.09.26 10:07 (#24542) Journal
    Win32::AdminMisc, which although a nice module, includes a call to GlobalMemoryStatusEx() which is not supported on WinNT (the target machine)

    According to the MSDN site [], you should be able to use GlobalMemoryStatus() on WindowsNT. The docs say that you only need GlobalMemoryStatusEx() if dealing with more than 4GB of main memory. Simple enough to patch with an #ifdef I would think.

    • Thankfully for this project I wasn't using much of Win32::AdminMisc, and there was a solution I could use inside Win32, which is bundled with ActivePerl. But thanks for the pointer. It may be useful in the future.