Click here to Skip to main content
Click here to Skip to main content

Getting System Information

, 11 Jun 2001
Rate this:
Please Sign up or sign in to vote.
This article lets you get system information via easy-to-use C++ classes.
<!-- Download Links --> <!-- Article image -->

Sample Image - SysInfo--Processor.jpg

<!-- Add the rest of your HTML here -->


Have you ever wanted to get system information on the WIN32 platform, but you just want a C++ console interface? Now you can with SysInfo and its related classes.

The class itself is really easy to use. SysInfo has a number of helper classes that do all of the work. SysInfo itself is just the interface to these other classes. If your needs dictate only a subset of what SysInfo provides, you don't have to use SysInfo. The other classes are in the global namespace so you can access them as well. Full source code is included.

Revision History

19 Jun 2002 - Initial Revision
19 Jun 2002 - Resized Graphic


This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


About the Author

Software Developer (Senior)
United States United States
No Biography provided

Comments and Discussions

Questionhow using the dll with ansi C exe ? Pinmembercsdc9-Mar-12 23:18 
GeneralMissing licence PinmemberFrederic Souchu25-Oct-10 23:30 
Generalhard drive information PinmemberMember 502642223-Apr-08 1:55 
GeneralSome more features Pinmembertyjjrtruy4teqye7nyue7qay9-Feb-07 2:23 
GeneralRe: Some more features PinmemberPaulWendt9-Feb-07 5:21 
When this was written, many years ago, there was no built-in support for determining a lot of this stuff with an easy-to-use API. Nowadays, that's not entirely true and I feel there are probably better ways to do a lot of this. There's a motherboard/CPU detection library free for the taking [as far as I know]; check out CPU-Z.
The main reason I stopped working on this is that WMI provides most, if not all, of this information and since Windows 2000, this is on every Windows machine. So, check out WMI for your hardware-detection needs.
The best part of this project is that it can be used as a demonstration for how to wrap inline assembly into function calls so that the __asm doesn't have to be looked at by people who'd get confused by it [like me Smile | :) ].
GeneralRe: Some more features Pinmembertyjjrtruy4teqye7nyue7qay12-Feb-07 3:12 
GeneralRe: Some more features PinmemberPaulWendt12-Feb-07 11:59 
GeneralErrors PinmemberMrSmiley323-Jul-05 18:35 
GeneralBug Drive Information PinmemberJimmyO24-Jun-04 0:21 
Generalsystem information Pinmemberpradeepvarghesek31-Mar-04 20:32 
GeneralWell done! PinmemberIvo Ivanov20-Jan-04 15:18 
Generalquestions regards system information PinsussEdward Chen16-Nov-02 10:30 
QuestionNew release of SysInfo ? PinsussDidier LIROULET11-Jul-02 6:00 
Generalremote system PinmemberAnonymous26-Jun-02 20:37 
General:-) PinsubeditorBrian Delahunty19-Jun-02 5:28 
QuestionCPUID??? Pinmemberhoangcuong16-Apr-02 18:39 
AnswerRe: CPUID??? PinmemberDean Wyant22-Sep-03 10:40 
GeneralCannot compile and link PinmemberRichard Cavell23-Jan-02 6:49 
GeneralRe: Cannot compile and link PinmemberPaulWendt23-Jan-02 7:46 
GeneralGetting additional information PinmemberTom McSure21-Jan-02 3:09 
GeneralRe: Getting additional information PinmemberPaulWendt21-Jan-02 3:41 
AnswerRe: Getting additional information Pinmemberpragya soni 12312-Jun-08 23:17 
GeneralADD this important feature.... Pinmemberxjhay21-Dec-01 20:08 
GeneralCannot Linking... PinmemberAnonymous10-Nov-01 11:46 
GeneralRe: Cannot Linking... PinmemberYacx11-Dec-01 0:17 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

| Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.150129.1 | Last Updated 12 Jun 2001
Article Copyright 2001 by PaulWendt
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid