Skip to main content
Email Password   helpLost your password?

Screen shot of program

Introduction

This program shows you a very simple way to determine your PC hardware and software. It queries operating system for the following Hardware/Software:

Program structure

By clicking the combo box and changing it's item, selected item is determined and it's ID passed to Process member function of dialog. The Process member function takes ID of query and returns the proper result. Body of Process has a lot of code to prepares result and if any error has occurred, the error string will be returned.

How to use

Add the following header and implementation files to your project:

Functions

Below table shows all functions that are used to determine Hardware/Software of the computer.

CString DetermineIEVer(); Determining Internet Explorer Version (Build Number)
CString QueryHardDisks(); Calculating Number of Hard Disks and Number of Cylinders, Tracks per Cylinders, Sectors per Tracks, Bytes per Sector and Total Capacity for each Hard Disks
CString QueryDriveSpace(); Calculating Drive Space/Free Space/Used Space of All Hard Drives
CString QueryCDDrive(); Determining Number of CD Drives
CString QueryTotalRAM() Calculating Total Physical RAM (Random Access Memory)
CString QueryFreeRAM(); Calculating Free Physical Memory
CString QueryUserName() User Name of current user
CString QueryComputerName(); Computer Name
CString QueryCPUInfo(); Number of CPU Installed on Mother Board
CString QueryCPUSpeed(); Speed of each CPU
CString QueryCPUID(); ID of each CPU
CString QueryCPUVendorID(); ID of CPU Vendor
CString QueryResolution(); Calculating Monitor Resolution in Pixel
CString QueryPixelDepth(); Calculating Color Depth of any Pixel
CString QueryOS(); Determining Operating System Version (Build Number) and it's Service Pack
CString QueryLocalIPAddress(); Determining IP Address of Computer
CString QueryHDDSmartCommand(); Query IDE hard disks that support SMART (Self-Monitoring Analysis & Reporting Technology).
CString QueryDirectory(char* sFolder,int iFolder); Determining Full Path of Specified Folder where sFolder is Folder Name and iFolder is Folder Shell ID Number
CString GetCommandError(); Determining last occurred error

Requirements

You must Sign In to use this message board.
 
 
Per page   
 FirstPrevNext
GeneralLittle mistake. Pin
Member 2844188
3:18 15 Jul '08  
QuestionClass CPUInfo do not support Chip intel ? Pin
To Quang Hiep
4:18 5 May '08  
Questionhellp me plz Pin
lays
0:13 19 Apr '08  
Questionhelp me Pin
lays
21:32 14 Apr '08  
Questionhelp Pin
lays
9:38 8 Apr '08  
GeneralYour source is very valueble to me! Pin
Ingenious001
2:39 28 Mar '07  
GeneralRe: Your source is very valueble to me! Pin
A. Riazi
1:57 30 Mar '07  
GeneralRe: Your source is very valueble to me! Pin
Ingenious001
4:01 3 Apr '07  
GeneralRe: Your source is very valueble to me! Pin
Rarencjusz
0:48 11 Jun '07  
GeneralCreating a new partition Pin
22:11 11 Mar '07  
QuestionHard Disk's Physical Information Pin
1:34 6 Mar '07  
QuestionUnable to download the source Pin
Nanda Kishore_SGS
23:43 29 Oct '06  
GeneralSCSI S.M.A.R.T. info? Pin
silikon2
6:39 5 Oct '06  
QuestionAMD 64 Pin
Raul Simcic
23:54 6 Aug '06  
AnswerRe: AMD 64 Pin
A. Riazi
0:52 7 Aug '06  
GeneralERROR_INSUFFICIENT_BUFFER Pin
Randor
18:40 30 May '06  
GeneralCan you help me. Pin
terahez
1:32 11 Apr '06  
GeneralRe: Can you help me. Pin
A. Riazi
9:43 11 Apr '06  
GeneralRe: Can you help me. Pin
terahez
23:12 11 Apr '06  
GeneralRe: Can you help me. Pin
A. Riazi
23:22 11 Apr '06  
GeneralRe: Can you help me. Pin
icsvoice
6:21 1 May '06  
GeneralHard Drive Serial Number Pin
abubakar_noman
4:32 5 Mar '06  
Generalcompilation error Pin
chunnu_80
5:39 17 Jan '06  
GeneralSmall mistake for Total memory Pin
cpsworld
8:08 11 Jan '06  
GeneralRe: Small mistake for Total memory Pin
A. Riazi
1:10 12 Jan '06  


Last Updated 19 Aug 2003 | Advertise | Privacy | Terms of Use | Copyright © CodeProject, 1999-2009