Retrieving CPU information...

SephirothSephiroth Fayetteville, NC, USA
I need to retrieve the CPU information including speed without using the registry for my newest application. I don't know why Microsoft found it in their inifinite wisdom to put everything except the CPU under "My", but I can get everything else from there. I do not wish to use the registry because it is configured at installation and may not be accurate for PCs that slow down the CPU when idle. So how can I do this in VS2005? I found tons of VB6 examples that no longer work, using things in WMI, which does not appear to work in 2005.

-[italic][b][red]S[/red][purple]e[/purple][blue]p[/blue][green]h[/green][red]i[/red][purple]r[/purple][blue]o[/blue][green]t[/green][red]h[/red][/b][/italic]

Comments

  • : I need to retrieve the CPU information including speed without using
    : the registry for my newest application. I don't know why Microsoft
    : found it in their inifinite wisdom to put everything except the CPU
    : under "My", but I can get everything else from there. I do not wish
    : to use the registry because it is configured at installation and may
    : not be accurate for PCs that slow down the CPU when idle. So how can
    : I do this in VS2005? I found tons of VB6 examples that no longer
    : work, using things in WMI, which does not appear to work in 2005.
    :
    : -[italic][b][red]S[/red][purple]e[/purple][blue]p[/blue][green]h[/gre
    : en][red]i[/red][purple]r[/purple][blue]o[/blue][green]t[/green][red]h
    : [/red][/b][/italic]

    Some interesting information:
    http://grafi.ii.pw.edu.pl/gbm/x86/x86id.html
    http://www.sandpile.org/ia32/cpuid.htm

    From what I can tell, you'll need to use Assembly for this.

    Probably, however, your best bet is to get WMI (Never heard of it before...) to work, or to get a free DLL somewhere to do it for you.

    Best Regards,
    Richard

    The way I see it... Well, it's all pretty blurry
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

In this Discussion