"James Hawkins" truiken@gmail.com writes:
Is there anything wrong with this patch? I have a machine with 3gb of ram and a lot of installers complain that I don't have enough memory. 3gb should certainly satisfy a 32mb condition, but we return "-1303" etc.
The existing code should work fine, and yours will return 0 for a 4Gb box... It sounds like the problem is in GlobalMemoryStatusEx.
On Thu, 15 Jun 2006 11:04:41 +0200, Alexandre Julliard wrote:
The existing code should work fine, and yours will return 0 for a 4Gb box... It sounds like the problem is in GlobalMemoryStatusEx.
IIRC this API has a quirk w.r.t large memory handling. I remember doing something to this code a few years ago for this reason. The Ex version simply fixes this bug, iirc, and adds no new features over the non-extended version.
thanks -mike