CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Jul 1999
    Posts
    12

    How to retrieve machine dependent data?

    Does any body know if there are functions to retrieve the following
    machine dependent data?

    Machine Type
    Physical RAM Size
    ROM Size
    ROM Version

    Or similar machine dependent data

    Best regards

    PaLu



  2. #2
    Join Date
    Apr 1999
    Location
    Germany
    Posts
    418

    Re: How to retrieve machine dependent data?

    Hi PaLu,

    if you mean the CPU type with machine type, this can be found with GetSystemInfo. Don't know how to get the other information.


    Martin

  3. #3
    Guest

    Re: How to retrieve machine dependent data?

    To get RAM info:

    MEMORYSTATUS ms;
    ms.dwLength = sizeof(ms);
    GlobalMemoryStatus(&ms);

    ms.dwTotalPhys <= Total Physical RAM
    ms.dwAvailPhys <= Total Available RAM
    .
    .
    .
    and there are other members



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured