Re: Detect 3GB switch programmatically



scorpneo@xxxxxxxxx wrote:

Is there some way to (programatically) find out when the OS is booted
in the /3GB mode? The 32-bit version of my application sets a hard
limit of 1700 MB after which it does not try to allocate any more
memory. I'd like to switch this to 2700 MB when the /3GB switch is
available. The best I can come up with till now is to read the
boot.ini file, but I am wondering if there is anything clever out
there, that I can do.

I don't know. You would have a better chance of getting an answer if
you posted this someplace where programmers hang out.
microsoft.public.win32.programmer.kernel might be a good bet.

--
Tim Slattery
MS MVP(DTS)
Slattery_T@xxxxxxx
http://members.cox.net/slatteryt
.



Relevant Pages

  • Re: Damn you, FEDEX! or Nikon D40 lost in Springfield, MO blackhole.
    ... the 2 mp Mavica he had been using with a Nikon D40. ... After shopping around, he got me to order one for him. ... The shipper had it insured, but from what I have read it could take weeks to sort this crap out. ... You may get your insurance from FedEx and a couple weeks later they find it and deliver it. ...
    (alt.photography)
  • Re: Detect 3GB switch programmatically
    ... limit of 1700 MB after which it does not try to allocate any more ... I'd like to switch this to 2700 MB when the /3GB switch is ... Another automated response? ... seem so mechanical and I don't recall every seeing any kind of conversation. ...
    (microsoft.public.win32.programmer.kernel)
  • Re: 4GB RAM shows up in WinXP as 3.5GB
    ... This switch forces x86-based systems to allocate 3 GB of virtual address ... user mode programs can access 3 GB of memory ... Server 2003 may require this switch. ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: 4GB RAM shows up in WinXP as 3.5GB
    ... This switch forces x86-based systems to allocate 3 GB of virtual address ... user mode programs can access 3 GB of memory ... Server 2003 may require this switch. ...
    (microsoft.public.windowsxp.setup_deployment)
  • Re: 4GB RAM shows up in WinXP as 3.5GB
    ... This switch forces x86-based systems to allocate 3 GB of virtual address ... user mode programs can access 3 GB of memory ... Server 2003 may require this switch. ...
    (microsoft.public.windowsxp.hardware)