Click here to Skip to main content
15,891,184 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How l Pin
Christian Graus11-Oct-04 10:19
protectorChristian Graus11-Oct-04 10:19 
AnswerRe: How l Pin
Antti Keskinen10-Oct-04 8:56
Antti Keskinen10-Oct-04 8:56 
GeneralRe: How l Pin
lordmickel10-Oct-04 9:23
lordmickel10-Oct-04 9:23 
AnswerRe: How l Pin
Paul Ranson11-Oct-04 10:55
Paul Ranson11-Oct-04 10:55 
GeneralRe: How l Pin
lordmickel13-Dec-04 10:41
lordmickel13-Dec-04 10:41 
Generalsystem info Pin
Lanre Ogunkola10-Oct-04 6:35
Lanre Ogunkola10-Oct-04 6:35 
GeneralRe: system info Pin
Ravi Bhavnani10-Oct-04 7:09
professionalRavi Bhavnani10-Oct-04 7:09 
GeneralRe: system info Pin
Graham Bradshaw10-Oct-04 9:21
Graham Bradshaw10-Oct-04 9:21 
For the processor serial number, you have to dive into assembly language, but mixing assembly and C++ is not hard. See this Intel PDF[^] for details of the CPUID instruction and how to use it. Bear in mind that a) onyl Pentium III and above actually support the CPU serial number b) it can usually be turned off in the BIOS, even if the processor supports it.

For the hard disk serial number, if you mean the volume serial number, then Ravi's answer is all you need. If you're after the physical serial number that the manufacturer puts on a drive, that's more tricky, since you'll need different approaches for IDE and SCSI drives, and even then the actual physical disks may be connected to a RAID controller, which is "hiding" the actual hardware.
GeneralRe: system info Pin
Ryan Binns10-Oct-04 18:16
Ryan Binns10-Oct-04 18:16 
GeneralRe: system info Pin
Graham Bradshaw11-Oct-04 0:43
Graham Bradshaw11-Oct-04 0:43 
GeneralRe: system info Pin
Ryan Binns11-Oct-04 14:33
Ryan Binns11-Oct-04 14:33 
GeneralRe: system info Pin
Aamir Butt11-Oct-04 0:11
Aamir Butt11-Oct-04 0:11 
GeneralRe: system info Pin
Graham Bradshaw11-Oct-04 0:48
Graham Bradshaw11-Oct-04 0:48 
GeneralRe: system info Pin
Abbas_Riazi11-Oct-04 7:35
professionalAbbas_Riazi11-Oct-04 7:35 
GeneralFunctions in Structures !?! Pin
QuasarZ !?!10-Oct-04 6:04
sussQuasarZ !?!10-Oct-04 6:04 
GeneralRe: Functions in Structures !?! Pin
Antti Keskinen10-Oct-04 9:10
Antti Keskinen10-Oct-04 9:10 
Questionstreaming wav on the web through activeX control? Pin
FASTian10-Oct-04 5:06
FASTian10-Oct-04 5:06 
AnswerRe: streaming wav on the web through activeX control? Pin
Ravi Bhavnani10-Oct-04 7:13
professionalRavi Bhavnani10-Oct-04 7:13 
Generalnew Items in my Toolbox Pin
Serhiy10-Oct-04 4:55
Serhiy10-Oct-04 4:55 
GeneralRe: new Items in my Toolbox Pin
Aamir Butt11-Oct-04 0:15
Aamir Butt11-Oct-04 0:15 
GeneralRe: new Items in my Toolbox Pin
Serhiy11-Oct-04 0:49
Serhiy11-Oct-04 0:49 
Questionhow to set list height of the listctrl? Pin
Lido Paul10-Oct-04 4:46
Lido Paul10-Oct-04 4:46 
AnswerRe: how to set list height of the listctrl? Pin
Ravi Bhavnani10-Oct-04 7:16
professionalRavi Bhavnani10-Oct-04 7:16 
GeneralFile Properties in Windows XP Pin
dessa9910-Oct-04 2:29
dessa9910-Oct-04 2:29 
GeneralRe: File Properties in Windows XP Pin
Antti Keskinen10-Oct-04 10:12
Antti Keskinen10-Oct-04 10:12 

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.