Click here to Skip to main content
15,886,518 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Password protected files and folders Pin
Chris Losinger5-Sep-06 3:13
professionalChris Losinger5-Sep-06 3:13 
QuestionRe: Password protected files and folders Pin
David Crow5-Sep-06 4:04
David Crow5-Sep-06 4:04 
QuestionHow to use the WMI Class to get hardware/system information? Pin
HansonDavid5-Sep-06 2:32
HansonDavid5-Sep-06 2:32 
AnswerRe: How to use the WMI Class to get hardware/system information? Pin
Hamid_RT5-Sep-06 2:41
Hamid_RT5-Sep-06 2:41 
GeneralRe: How to use the WMI Class to get hardware/system information? Pin
HansonDavid5-Sep-06 16:47
HansonDavid5-Sep-06 16:47 
GeneralRe: How to use the WMI Class to get hardware/system information? Pin
HansonDavid5-Sep-06 21:46
HansonDavid5-Sep-06 21:46 
GeneralRe: How to use the WMI Class to get hardware/system information? Pin
Hamid_RT6-Sep-06 2:36
Hamid_RT6-Sep-06 2:36 
GeneralRe: How to use the WMI Class to get hardware/system information? Pin
Hamid_RT7-Sep-06 8:14
Hamid_RT7-Sep-06 8:14 
Hi David,
when i see your question i remember my question in many years ago i wanted to got all detaily computer Memory(size,speed,bus,...)Motherboard(serial number,bios,cmos....) and i tried about 5 months but in the end i couldnt any helpful thing (i think you can remember DOS and Assembly).I used Win32_PhysicalMemory for got Capacity but not all previous,but your problem i am wondering i try with C# of course its differ with VC++ (a ManagementScope then ObjectQuery("Select * FROM Win32_PhysicalMemory") and .....)
but i cant get Status,Speed and manufacture,...) but for capacity or Name and some things its working like VC++ then i tring with VC++ but it seems that result is same with C# and i think your code not problem but i think it needs to a additional code then i starting to search on internet a big search and i see about 50 site but in these sites all users has same error with you they cant get BankLabel (of course we have this parameter) InstallDate,Manufacturer,HotSwappable,Model,PartNumber and ... if we want use another WMI we can use from Methods but in Win32_PhysicalMemory we dont have any methods and almost more examples are in C# or VB like(http://www.dx21.com/SCRIPTING/WMI/SUBCLASS.ASP?CID=32)
if you see this site 12 or 15 lines a declare a root a query and in the loop read items but i cant find any good C++ code for you for example in this link http://www.experts-exchange.com/Programming/Programming_Languages/Cplusplus/Q_21214650.html) you can a problem Win32_PhysicalMemory(C++) and it seems that he find his problem

maybe it is some helpful to you Smile | :)



WhiteSky


AnswerRe: How to use the WMI Class to get hardware/system information? Pin
Viorel.5-Sep-06 3:34
Viorel.5-Sep-06 3:34 
GeneralRe: How to use the WMI Class to get hardware/system information? Pin
HansonDavid5-Sep-06 21:32
HansonDavid5-Sep-06 21:32 
QuestionIncrease the window message priority Pin
helpcode5-Sep-06 2:30
helpcode5-Sep-06 2:30 
AnswerRe: Increase the window message priority Pin
Frank K5-Sep-06 2:42
Frank K5-Sep-06 2:42 
GeneralRe: Increase the window message priority Pin
helpcode6-Sep-06 18:40
helpcode6-Sep-06 18:40 
AnswerRe: Increase the window message priority Pin
ThatsAlok5-Sep-06 2:47
ThatsAlok5-Sep-06 2:47 
AnswerRe: Increase the window message priority Pin
Michael Dunn5-Sep-06 12:31
sitebuilderMichael Dunn5-Sep-06 12:31 
QuestionSerial communication + thread related problem Pin
harsha_12345-Sep-06 2:13
harsha_12345-Sep-06 2:13 
AnswerRe: Serial communication + thread related problem Pin
ThatsAlok5-Sep-06 2:50
ThatsAlok5-Sep-06 2:50 
AnswerRe: Serial communication + thread related problem Pin
Blake Miller6-Sep-06 11:49
Blake Miller6-Sep-06 11:49 
QuestionReading error Pin
Anu_Bala5-Sep-06 2:08
Anu_Bala5-Sep-06 2:08 
AnswerRe: Reading error Pin
_AnsHUMAN_ 5-Sep-06 2:12
_AnsHUMAN_ 5-Sep-06 2:12 
GeneralRe: Reading error Pin
Anu_Bala5-Sep-06 2:24
Anu_Bala5-Sep-06 2:24 
GeneralRe: Reading error Pin
_AnsHUMAN_ 5-Sep-06 2:29
_AnsHUMAN_ 5-Sep-06 2:29 
GeneralRe: Reading error Pin
Anu_Bala5-Sep-06 2:38
Anu_Bala5-Sep-06 2:38 
AnswerRe: Reading error Pin
Sebastian Schneider5-Sep-06 3:18
Sebastian Schneider5-Sep-06 3:18 
QuestionDebugging NULL call CTDs Pin
mnelles5-Sep-06 1:55
mnelles5-Sep-06 1:55 

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.