Click here to Skip to main content
15,885,004 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: how to use for loop for displaying no in following format? Pin
Tim Craig27-Mar-10 17:54
Tim Craig27-Mar-10 17:54 
AnswerRe: how to use for loop for displaying no in following format? Pin
sthalasayanam28-Mar-10 2:55
sthalasayanam28-Mar-10 2:55 
AnswerRe: how to use for loop for displaying no in following format? Pin
Jonas Hammarberg29-Mar-10 0:18
professionalJonas Hammarberg29-Mar-10 0:18 
QuestionWin32 Processor - How to implement this correctly? Pin
rbwest8626-Mar-10 14:17
rbwest8626-Mar-10 14:17 
AnswerRe: Win32 Processor - How to implement this correctly? Pin
KingsGambit26-Mar-10 17:09
KingsGambit26-Mar-10 17:09 
AnswerRe: Win32 Processor - How to implement this correctly? Pin
Garth J Lancaster26-Mar-10 20:50
professionalGarth J Lancaster26-Mar-10 20:50 
AnswerRe: Win32 Processor - How to implement this correctly? Pin
Adam Roderick J26-Mar-10 22:37
Adam Roderick J26-Mar-10 22:37 
GeneralRe: Win32 Processor - How to implement this correctly? Pin
rbwest8627-Mar-10 7:44
rbwest8627-Mar-10 7:44 
Ok,

So after looking at doing this I feel I need to use WMI (Windows Management Instrumentation).

Now to make sure I understand this, WMI is a tool that windows uses to read hardware information very accurately?



Now back to the programming portion. In order for me to use Win32_Processor Class, I first have to initialize CoInitilizeEx and CoInitilizeSecurity? I am a little confused about this. The COM (Component) is a library, and this library tells WMI and the Win32_Processor Class how to communicate with hardware?

Just making sure I understand everything and trying to put everything together.
GeneralRe: Win32 Processor - How to implement this correctly? Pin
rbwest8627-Mar-10 14:55
rbwest8627-Mar-10 14:55 
GeneralRe: Win32 Processor - How to implement this correctly? Pin
Adam Roderick J27-Mar-10 16:56
Adam Roderick J27-Mar-10 16:56 
QuestionProblem Showing a window with MFC Pin
andybougard26-Mar-10 12:58
andybougard26-Mar-10 12:58 
AnswerRe: Problem Showing a window with MFC Pin
Joe Woodbury26-Mar-10 15:24
professionalJoe Woodbury26-Mar-10 15:24 
AnswerRe: Problem Showing a window with MFC Pin
sthalasayanam26-Mar-10 17:45
sthalasayanam26-Mar-10 17:45 
GeneralRe: Problem Showing a window with MFC Pin
Cool_Dev27-Mar-10 4:15
Cool_Dev27-Mar-10 4:15 
GeneralRe: Problem Showing a window with MFC Pin
andybougard27-Mar-10 8:59
andybougard27-Mar-10 8:59 
Questionport of VC98 to VS2008 problem with ATL & MFC Pin
danhass26-Mar-10 9:48
danhass26-Mar-10 9:48 
AnswerRe: port of VC98 to VS2008 problem with ATL & MFC Pin
danhass30-Mar-10 9:01
danhass30-Mar-10 9:01 
QuestionIntranet license checker Pin
Sergono26-Mar-10 7:12
Sergono26-Mar-10 7:12 
QuestionRe: Menu in dialog application, CheckMenuItem [modified] Pin
mla15426-Mar-10 7:07
mla15426-Mar-10 7:07 
AnswerRe: Menu in dialog application, CheckMenuItem Pin
mla15426-Mar-10 7:17
mla15426-Mar-10 7:17 
Questionuse custom icon on an AfxMessageBox Pin
b-rad31126-Mar-10 6:29
b-rad31126-Mar-10 6:29 
AnswerRe: use custom icon on an AfxMessageBox PinPopular
jeron126-Mar-10 7:03
jeron126-Mar-10 7:03 
GeneralRe: use custom icon on an AfxMessageBox Pin
b-rad31126-Mar-10 8:18
b-rad31126-Mar-10 8:18 
QuestionHelp with binary tree(BST) function building. Pin
Member 382253226-Mar-10 4:52
Member 382253226-Mar-10 4:52 
AnswerRe: Help with binary tree(BST) function building. Pin
David Crow26-Mar-10 5:28
David Crow26-Mar-10 5:28 

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.