how to use far pointers to find system memory?

kindly tell me how to use far pointers to find the size of memory a system has(RAM)



Answer this question

how to use far pointers to find system memory?

  • Hossam Abdel Wahab

    I know of no way of using pointers to detected how much memory there is in a system (at least not on modern systems with virtual memory). A call to GetSystemInfo will use a pointer: does that count

  • RaptorTech

    i mean to say this was a question in our programming assignment.
    the question was make a c++ program to find system memory using pointers


  • Ren Yi

    What do you mean by 'far pointers' I haven't seen a far pointer since the last time I looked at the 16-bit compiler (shudders). I would use GetSystemInfo to find out this information:

    http://msdn.microsoft.com/library/default.asp url=/library/en-us/sysinfo/base/system_info_str.asp



  • n8dagr8

    you should use GlobalMemoryStatus to get memory information, and also including the memory a system has.

    and far pointer is deprecated in win32, the M$ reserved it just for the compatible of the old codes.



  • how to use far pointers to find system memory?