I've been trying to determine whether the 3GB switch is on or off on the system my program is running by calling GetSystemInfo() and checking lpMaximumApplicationAddress on the SYSTEM_INFO struct.
No luck. I think I am doing something wrong.
How do you check whether the 3GB switch is on or not on Windows in C? Code is appreciated.
thanks