Click here to Skip to main content
11,926,961 members (51,786 online)
Click here to Skip to main content
Add your own
alternative version


38 bookmarked

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

You may also be interested in...

Comments and Discussions

Questionhow using the dll with ansi C exe ? Pin
csdc9-Mar-12 23:18
membercsdc9-Mar-12 23:18 
GeneralMissing licence Pin
Frederic Souchu25-Oct-10 23:30
memberFrederic Souchu25-Oct-10 23:30 
Generalhard drive information Pin
Member 502642223-Apr-08 1:55
memberMember 502642223-Apr-08 1:55 
GeneralSome more features Pin
tyjjrtruy4teqye7nyue7qay9-Feb-07 2:23
membertyjjrtruy4teqye7nyue7qay9-Feb-07 2:23 
GeneralRe: Some more features Pin
PaulWendt9-Feb-07 5:21
memberPaulWendt9-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 Pin
tyjjrtruy4teqye7nyue7qay12-Feb-07 3:12
membertyjjrtruy4teqye7nyue7qay12-Feb-07 3:12 
GeneralRe: Some more features Pin
PaulWendt12-Feb-07 11:59
memberPaulWendt12-Feb-07 11:59 
GeneralErrors Pin
MrSmiley323-Jul-05 18:35
memberMrSmiley323-Jul-05 18:35 
GeneralBug Drive Information Pin
JimmyO24-Jun-04 0:21
memberJimmyO24-Jun-04 0:21 
Generalsystem information Pin
pradeepvarghesek31-Mar-04 20:32
memberpradeepvarghesek31-Mar-04 20:32 
GeneralWell done! Pin
Ivo Ivanov20-Jan-04 15:18
memberIvo Ivanov20-Jan-04 15:18 
Generalquestions regards system information Pin
Edward Chen16-Nov-02 10:30
sussEdward Chen16-Nov-02 10:30 
QuestionNew release of SysInfo ? Pin
Didier LIROULET11-Jul-02 6:00
sussDidier LIROULET11-Jul-02 6:00 
Generalremote system Pin
Anonymous26-Jun-02 20:37
memberAnonymous26-Jun-02 20:37 
General:-) Pin
Brian Delahunty19-Jun-02 5:28
subeditorBrian Delahunty19-Jun-02 5:28 
QuestionCPUID??? Pin
hoangcuong16-Apr-02 18:39
memberhoangcuong16-Apr-02 18:39 
AnswerRe: CPUID??? Pin
Dean Wyant22-Sep-03 10:40
memberDean Wyant22-Sep-03 10:40 
GeneralCannot compile and link Pin
Richard Cavell23-Jan-02 6:49
memberRichard Cavell23-Jan-02 6:49 
GeneralRe: Cannot compile and link Pin
PaulWendt23-Jan-02 7:46
memberPaulWendt23-Jan-02 7:46 
GeneralGetting additional information Pin
Tom McSure21-Jan-02 3:09
memberTom McSure21-Jan-02 3:09 
GeneralRe: Getting additional information Pin
PaulWendt21-Jan-02 3:41
memberPaulWendt21-Jan-02 3:41 
AnswerRe: Getting additional information Pin
pragya soni 12312-Jun-08 23:17
memberpragya soni 12312-Jun-08 23:17 
GeneralADD this important feature.... Pin
xjhay21-Dec-01 20:08
memberxjhay21-Dec-01 20:08 
GeneralCannot Linking... Pin
Anonymous10-Nov-01 11:46
memberAnonymous10-Nov-01 11:46 
GeneralRe: Cannot Linking... Pin
Yacx11-Dec-01 0:17
memberYacx11-Dec-01 0:17 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    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
Web04 | 2.8.151126.1 | Last Updated 12 Jun 2001
Article Copyright 2001 by PaulWendt
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid