Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Hardware details without using WMI

Hardware details without using WMI

Scheduled Pinned Locked Moved C / C++ / MFC
helphardwareperformancequestionannouncement
6 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    Padmanabh Sharma
    wrote on last edited by
    #1

    Hi, I am using WMI to get hardware details. WMI defines INT8. At the same time I am using one library that defines INT8, and because of this I am getting redefinition error for INT8. I can not change the code either in WMI or in other library. There could be one way by creating a Dll for all wmi code. But is there any other workaround for the same? That would be great, if one can help me in getting following details without using WMI: 1. All drives (Fixed as well as removable) and their partitions with size, utilization and driver (description, date, version) details. 2. CPU details : No of CPUs and for each CPU ---> CPU type, CPU alias, Original clock, Real Clock, Effective clock, CPUID manufacturer, CPUID revision. 3. Motherboard details: Motherboard ID, Motherboard Name, BUS type, BUS Width, BIOS type, System BIOS Date, No of memory modules and RAM within them. Regards! Paddy Padmanabh Sharma

    H 1 Reply Last reply
    0
    • P Padmanabh Sharma

      Hi, I am using WMI to get hardware details. WMI defines INT8. At the same time I am using one library that defines INT8, and because of this I am getting redefinition error for INT8. I can not change the code either in WMI or in other library. There could be one way by creating a Dll for all wmi code. But is there any other workaround for the same? That would be great, if one can help me in getting following details without using WMI: 1. All drives (Fixed as well as removable) and their partitions with size, utilization and driver (description, date, version) details. 2. CPU details : No of CPUs and for each CPU ---> CPU type, CPU alias, Original clock, Real Clock, Effective clock, CPUID manufacturer, CPUID revision. 3. Motherboard details: Motherboard ID, Motherboard Name, BUS type, BUS Width, BIOS type, System BIOS Date, No of memory modules and RAM within them. Regards! Paddy Padmanabh Sharma

      H Offline
      H Offline
      Hamid Taebi
      wrote on last edited by
      #2

      See System Information[^]


      WhiteSky


      P 1 Reply Last reply
      0
      • H Hamid Taebi

        See System Information[^]


        WhiteSky


        P Offline
        P Offline
        Padmanabh Sharma
        wrote on last edited by
        #3

        Hi, Yes this gives me most of the details but even i m not able to get following details: 1. Motherboard ID. 2. Driver details for all partitions and removable drives. 3. Bus type and Bus width 4. CPU alias 5. Real and Effective clock Regards! Paddy

        H P 2 Replies Last reply
        0
        • P Padmanabh Sharma

          Hi, Yes this gives me most of the details but even i m not able to get following details: 1. Motherboard ID. 2. Driver details for all partitions and removable drives. 3. Bus type and Bus width 4. CPU alias 5. Real and Effective clock Regards! Paddy

          H Offline
          H Offline
          Hamid Taebi
          wrote on last edited by
          #4

          I think for these objects you need to WMI


          WhiteSky


          1 Reply Last reply
          0
          • P Padmanabh Sharma

            Hi, Yes this gives me most of the details but even i m not able to get following details: 1. Motherboard ID. 2. Driver details for all partitions and removable drives. 3. Bus type and Bus width 4. CPU alias 5. Real and Effective clock Regards! Paddy

            P Offline
            P Offline
            Padmanabh Sharma
            wrote on last edited by
            #5

            Hi, I missed to add few of details in the list. The updated list is: 1. Motherboard ID. 2. Driver details for all partitions and removable drives. 3. Bus type and Bus width 4. CPU alias 5. Real and Effective clock 6. BIOS type and BIOS system date 7. Memory modules and RAM in each memory module. Regards! Paddy

            H 1 Reply Last reply
            0
            • P Padmanabh Sharma

              Hi, I missed to add few of details in the list. The updated list is: 1. Motherboard ID. 2. Driver details for all partitions and removable drives. 3. Bus type and Bus width 4. CPU alias 5. Real and Effective clock 6. BIOS type and BIOS system date 7. Memory modules and RAM in each memory module. Regards! Paddy

              H Offline
              H Offline
              Hamid Taebi
              wrote on last edited by
              #6

              Did your problem solve?:)


              WhiteSky


              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups