"James Hawkins" <[EMAIL PROTECTED]> 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. -- Alexandre Julliard [EMAIL PROTECTED]