Showing results for October 23, 2014 - The Old New Thing

Oct 23, 2014
Post comments count0
Post likes count0

How can I detect programmatically whether the /3GB switch is enabled?

Raymond Chen
Raymond Chen

A customer was doing some diagnostic work and wanted a way to detect whether the switch was enabled. (Remember that the switch is meaningful only for 32-bit versions of Windows.) The way to detect the setting is to call and look at the . Compile this as a 32-bit program and run it. On 32-bit systems, this reports the system-wide setting...

Code