Click here to Skip to main content
15,881,967 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Related to edit boxes Pin
Hamid_RT16-Jul-06 22:56
Hamid_RT16-Jul-06 22:56 
AnswerRe: Related to edit boxes Pin
*Dreamz16-Jul-06 23:10
*Dreamz16-Jul-06 23:10 
GeneralRe: Related to edit boxes Pin
see me16-Jul-06 23:04
see me16-Jul-06 23:04 
AnswerRe: Related to edit boxes Pin
_AnsHUMAN_ 16-Jul-06 23:17
_AnsHUMAN_ 16-Jul-06 23:17 
AnswerRe: Related to edit boxes Pin
David Crow17-Jul-06 2:57
David Crow17-Jul-06 2:57 
QuestionHow do I count CPU cores? Pin
khb16-Jul-06 22:11
khb16-Jul-06 22:11 
AnswerRe: How do I count CPU cores? Pin
David Crow17-Jul-06 2:59
David Crow17-Jul-06 2:59 
QuestionRe: How do I count CPU cores? Pin
khb17-Jul-06 23:00
khb17-Jul-06 23:00 
Hi David,

thank you for the hint. I managed to access the Win32_Processor members. However, the members NumberOfCores and NumberOfLogicalProcessors are not valid. To get them MSDN suggests to use Win32_ComputerSystemProcessor. This class contains a reference to Win32_Processor which should contain the data I'm looking for.

Now my question: How do I follow the reference from Win32_ComputerSystemProcessor to Win32_Processor in C++? In the first run I used ExecQuery() to select Win32_Processor and accessed its data using Next() and Get(). Now I guess I have to use ExecQuery() to select Win32_ComputerSystemProcessor, but how do I continue?

Thank you for any help you can give!

Regards,
Marcus.
QuestionRe: How do I count CPU cores? Pin
David Crow18-Jul-06 2:33
David Crow18-Jul-06 2:33 
GeneralRe: How do I count CPU cores? Pin
khb18-Jul-06 6:01
khb18-Jul-06 6:01 
GeneralRe: How do I count CPU cores? Pin
David Crow18-Jul-06 6:50
David Crow18-Jul-06 6:50 
GeneralRe: How do I count CPU cores? Pin
khb18-Jul-06 8:19
khb18-Jul-06 8:19 
GeneralRe: How do I count CPU cores? Pin
David Crow18-Jul-06 8:20
David Crow18-Jul-06 8:20 
QuestionRe: How do I count CPU cores? Pin
khb18-Jul-06 21:09
khb18-Jul-06 21:09 
AnswerRe: How do I count CPU cores? Pin
Mike O'Neill19-Jul-06 15:48
Mike O'Neill19-Jul-06 15:48 
GeneralRe: How do I count CPU cores? [modified] Pin
khb19-Jul-06 22:47
khb19-Jul-06 22:47 
QuestionCatching events from a dynamically loaded html in CHtmlView [modified] Pin
georgekjolly16-Jul-06 21:25
georgekjolly16-Jul-06 21:25 
AnswerRe: Catching events from a dynamically loaded html in CHtmlView Pin
Abhi Lahare16-Jul-06 22:50
Abhi Lahare16-Jul-06 22:50 
QuestionGUIDGen.exe utility Pin
Anu_Bala16-Jul-06 21:06
Anu_Bala16-Jul-06 21:06 
AnswerRe: GUIDGen.exe utility Pin
Sarath C16-Jul-06 21:41
Sarath C16-Jul-06 21:41 
AnswerRe: GUIDGen.exe utility Pin
Parthi_Appu16-Jul-06 21:44
Parthi_Appu16-Jul-06 21:44 
QuestionSCardTransmit problem Pin
black falcon16-Jul-06 21:01
black falcon16-Jul-06 21:01 
AnswerRe: SCardTransmit problem Pin
Maxwell Chen16-Jul-06 23:27
Maxwell Chen16-Jul-06 23:27 
QuestionERROR??? Pin
mimimimilaw16-Jul-06 20:15
mimimimilaw16-Jul-06 20:15 
AnswerRe: ERROR??? Pin
Naveen16-Jul-06 20:24
Naveen16-Jul-06 20:24 

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.