AOA AOA AOA Folding For Team 45 AOA Files Home Front Page Become an AOA Subscriber! UserCP Calendar Memberlist FAQ Search Forum Home


Go Back   AOA > Software > Programming and Assembly Language

Programming and Assembly Language Please read this Topic's rules!!

Reply
 
LinkBack Thread Tools Rate Thread
  #1 (permalink)  
Old 16th May, 2007, 01:22 AM
MrSeanKon's Avatar
OcBible Creator
 
Join Date: June 2005
Location: Where the streets have no name
Posts: 766

Some WMI statements don't work (C# code)

For example the Win32_Fan, CIM_TemperatureSensor etc.........
gizmo you know the source code.
On the other hand CIM_Processor, Win32_Processes etc work....
Am I wrong?????????
__________________
GRAB overclocking -->OcBible v1.55 Guidemania v1.21
CARDGAMES-->Jack v1.17 Deck v1.13 Preference v1.20

Last edited by MrSeanKon; 17th May, 2007 at 03:26 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 27th May, 2007, 01:28 AM
Gizmo's Avatar
Chief BBS Administrator
BassTeroids Champion, Global Player Champion, Aim & Fire Champion, Puzzle Maniax Champion, Othello Champion, Canyon Glider Champion, UFO Shoot Out Champion, Unicycle Challenge Champion, Zed Champion
 
Join Date: May 2003
Location: Webb City, Mo
Posts: 14,948
Send a message via ICQ to Gizmo Send a message via AIM to Gizmo Send a message via MSN to Gizmo Send a message via Yahoo to Gizmo Send a message via Skype™ to Gizmo

I am very lost on this one. These calls should work, but for some reason they aren't. I've not been able to figure out why.
__________________
Avatar and sig graphic by Pitch. Subscribers!
Ask about a custom graphic or avatar today!
 
Later,
Gizmo
Thermal Diode Mod and Direct-Die Water Block
8-Cheetah 18GiB U-2 SCSI
MegaRAID Enterprise 1500/128MiB
Samsung SyncMaster 955DF
TTGI/Superflower TTS-520 PSU
 

 
AOA Team filesAOA Team wcgAOA Team fah
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 28th May, 2007, 02:32 PM
Gizmo's Avatar
Chief BBS Administrator
BassTeroids Champion, Global Player Champion, Aim & Fire Champion, Puzzle Maniax Champion, Othello Champion, Canyon Glider Champion, UFO Shoot Out Champion, Unicycle Challenge Champion, Zed Champion
 
Join Date: May 2003
Location: Webb City, Mo
Posts: 14,948
Send a message via ICQ to Gizmo Send a message via AIM to Gizmo Send a message via MSN to Gizmo Send a message via Yahoo to Gizmo Send a message via Skype™ to Gizmo

Oh DUH!

Win32_Fan, CIM_TemperatureSensor, and many other classes rely on the drivers to provide the necessary information. If the drivers do not provide the information via WMI, then you won't be able to read it.

To see if the particular class you are interested in is supported by your particular machine, you can run 'wbemtest' which provides a rudimentary interface for enumerating and interacting with the various WMI classes.
__________________
Avatar and sig graphic by Pitch. Subscribers!
Ask about a custom graphic or avatar today!
 
Later,
Gizmo
Thermal Diode Mod and Direct-Die Water Block
8-Cheetah 18GiB U-2 SCSI
MegaRAID Enterprise 1500/128MiB
Samsung SyncMaster 955DF
TTGI/Superflower TTS-520 PSU
 

 
AOA Team filesAOA Team wcgAOA Team fah
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 29th May, 2007, 08:32 AM
MrSeanKon's Avatar
OcBible Creator
 
Join Date: June 2005
Location: Where the streets have no name
Posts: 766

Thanks for reply gizmo.
Thus I don't see anything until Microsoft update its WMI??
__________________
GRAB overclocking -->OcBible v1.55 Guidemania v1.21
CARDGAMES-->Jack v1.17 Deck v1.13 Preference v1.20
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 29th May, 2007, 08:43 AM
Gizmo's Avatar
Chief BBS Administrator
BassTeroids Champion, Global Player Champion, Aim & Fire Champion, Puzzle Maniax Champion, Othello Champion, Canyon Glider Champion, UFO Shoot Out Champion, Unicycle Challenge Champion, Zed Champion
 
Join Date: May 2003
Location: Webb City, Mo
Posts: 14,948
Send a message via ICQ to Gizmo Send a message via AIM to Gizmo Send a message via MSN to Gizmo Send a message via Yahoo to Gizmo Send a message via Skype™ to Gizmo

Actually, it's not Microsoft's fault. It is the fault of your mobo chipset vendor.

In my case, it would be nVidia's nForce2 driver set which is the problem. nVidia would rather I used their garbage µGuru application than something that might actually work, so their chipset drivers don't properly provide information to WMI.
__________________
Avatar and sig graphic by Pitch. Subscribers!
Ask about a custom graphic or avatar today!
 
Later,
Gizmo
Thermal Diode Mod and Direct-Die Water Block
8-Cheetah 18GiB U-2 SCSI
MegaRAID Enterprise 1500/128MiB
Samsung SyncMaster 955DF
TTGI/Superflower TTS-520 PSU
 

 
AOA Team filesAOA Team wcgAOA Team fah
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 29th May, 2007, 10:08 AM
MrSeanKon's Avatar
OcBible Creator
 
Join Date: June 2005
Location: Where the streets have no name
Posts: 766

Thus we must work from beggining???
__________________
GRAB overclocking -->OcBible v1.55 Guidemania v1.21
CARDGAMES-->Jack v1.17 Deck v1.13 Preference v1.20
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 29th May, 2007, 10:19 AM
Gizmo's Avatar
Chief BBS Administrator
BassTeroids Champion, Global Player Champion, Aim & Fire Champion, Puzzle Maniax Champion, Othello Champion, Canyon Glider Champion, UFO Shoot Out Champion, Unicycle Challenge Champion, Zed Champion
 
Join Date: May 2003
Location: Webb City, Mo
Posts: 14,948
Send a message via ICQ to Gizmo Send a message via AIM to Gizmo Send a message via MSN to Gizmo Send a message via Yahoo to Gizmo Send a message via Skype™ to Gizmo

For some mobos and chipsets, yes.
__________________
Avatar and sig graphic by Pitch. Subscribers!
Ask about a custom graphic or avatar today!
 
Later,
Gizmo
Thermal Diode Mod and Direct-Die Water Block
8-Cheetah 18GiB U-2 SCSI
MegaRAID Enterprise 1500/128MiB
Samsung SyncMaster 955DF
TTGI/Superflower TTS-520 PSU
 

 
AOA Team filesAOA Team wcgAOA Team fah
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 31st May, 2007, 07:13 AM
Áedán's Avatar
Chief Systems Administrator
 
Join Date: September 2001
Location: Europe
Posts: 12,248

Quote:
Originally Posted by gizmo
nVidia would rather I used their garbage µGuru application than something that might actually work, so their chipset drivers don't properly provide information to WMI.
I thought that µGuru was just an Abit thing? Where does WMI pull the data from? ACPI?
__________________
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 31st May, 2007, 09:05 AM
Gizmo's Avatar
Chief BBS Administrator
BassTeroids Champion, Global Player Champion, Aim & Fire Champion, Puzzle Maniax Champion, Othello Champion, Canyon Glider Champion, UFO Shoot Out Champion, Unicycle Challenge Champion, Zed Champion
 
Join Date: May 2003
Location: Webb City, Mo
Posts: 14,948
Send a message via ICQ to Gizmo Send a message via AIM to Gizmo Send a message via MSN to Gizmo Send a message via Yahoo to Gizmo Send a message via Skype™ to Gizmo

Sorry, you're right.

WMI pulls its information from a large number of sources. Much of the performance data comes from the performance registry. It also gets data via SNMP and the Event Log, as well as drivers that conform to the WDM driver model and support WMI directly.

Basically, WMI (which is Microsoft's implementation of the Web Based Enterprise Management standard, using the Common Information Model or CIM) is intended to pull together information from all of the previously disparate data collection systems in Windows, and provide them with a common interface, as well as providing additional data that was previously not available.

As WBEM was not part of NT4, MS provides a downloadable patch to provide the capability on NT4, and I believe there is a version for Windows98 as well. All OS versions from Windows2000 up have it already. WBEM is also implemented on Linux, Solaris, and BSD, off the top of my head (there are probably others).
__________________
Avatar and sig graphic by Pitch. Subscribers!
Ask about a custom graphic or avatar today!
 
Later,
Gizmo
Thermal Diode Mod and Direct-Die Water Block
8-Cheetah 18GiB U-2 SCSI
MegaRAID Enterprise 1500/128MiB
Samsung SyncMaster 955DF
TTGI/Superflower TTS-520 PSU
 

 
AOA Team filesAOA Team wcgAOA Team fah
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
8RDA+ - post code 29 OR why does the latest Bios NOT work? jcool EPoX MotherBoards 3 16th May, 2003 05:54 PM
Check Your Statements dod Random Nonsense! 1 19th February, 2003 08:40 AM
FF code With C1 code keller346 EPoX MotherBoards 4 4th February, 2003 10:38 PM
CF code?? whoreable EPoX MotherBoards 0 18th December, 2002 10:43 AM
Code FF - What to do RaGz EPoX MotherBoards 17 15th December, 2002 12:20 AM


All times are GMT -5. The time now is 01:38 AM.


Copyright ©2001 - 2009, AOA Forums

Search Engine Friendly URLs by vBSEO 3.3.0