From: Sisyphus <sis...@op...> - 2009-01-01 01:47:21
|
----- Original Message ----- From: "fatmcgav" <fat...@gm...> To: <min...@li...> Sent: Wednesday, December 31, 2008 8:20 PM Subject: Re: [Mingw-users] MinGW 64Bit > > Rob, > > I would love to stick with 32bit perl on the x64 box, however the issue > i'm > having is that 32bit perl wont read more than 4Gb of Ram, which is no good > for what i want to do with Perl... hence the need for a 64bit > installation... > Unless there's another way i can do the Ram Counting in Perl 32bit on a > 64bit box with over 8Gb of 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, such an XSub could not return a 'long' value, as 'longs' 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 a double or a string. This is getting quite OT for this forum, so I'll duplicate this posting to the perlmonks thread, and suggest that we follow up on this at perlmonks (rather than here). Cheers, Rob |