wow64: get real memory information RRS feed

  • Question

  • Hello everyone, this is my first post.
    I am developing a 32 bit application that gathers information about the hardware and software of a computer.
    It works almost fine, but under x64 platform it gives wrong info about RAM memory: in a PC with 8GB, my app says it has just 4GB.
    I know that 32 bit can handle up to 4GB, but is there a way to get the full memory (maybe with WMI or something like that) without having to recompile the program for x64?

    Please tell me how WMI behaves in this situations (if WMI under WOW64 returns the real memory) beacuse I don't have a 64bit PC to make any test.

    Thanks you!
    R. Nicolás "Lopecito" López
    Tuesday, May 6, 2008 12:25 PM


All replies