Brian Abbott wrote: > MIke > > It's not Vista per se but the amount of RAM being over 4 GB. > > I've changed to using GlobalMemoryStatusEx rather than GlobalMemoryStatus: > > DECLARE GlobalMemoryStatusEx IN Win32API STRING @lcBuffer > lcBuffer = long2str(64) + REPLICATE(CHR(0), 60) > =GlobalMemoryStatusEx(@lcBuffer) > lnAvailableMem = str2dlong(Substr(lcBuffer, 17,8)) > > > ... and also putting the whole thing in a TRY CATCH.
What's the difference between GlobalMemoryStatusEx and GlobalMemoryStatus? The idea for the TRY/CATCH is spot-on...good idea. -- Mike Babcock, MCP MB Software Solutions, LLC President, Chief Software Architect http://mbsoftwaresolutions.com http://fabmate.com http://twitter.com/mbabcock16 _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/[email protected] ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

