We help IT Professionals succeed at work.

Check out our new AWS podcast with Certified Expert, Phil Phillips! Listen to "How to Execute a Seamless AWS Migration" on EE or on your favorite podcast platform. Listen Now

x

PC Diagnostics Utilities

wmlim060298
wmlim060298 asked
on
Medium Priority
421 Views
Last Modified: 2010-04-26
Does anyone know of any PC Diagnostics Utilities that come in the form of libraries or DLLs that I can call within my own program? This diagnostics tool should include functions like diagnosing network cards, harddisks, memory, I/O ports, etc. I know that Norton Utilities can do it but those are applications and I need only function libraries so that I can develop my own GUI.
Comment
Watch Question

Commented:
wmlim,

As far as I know, no companies producing diagnostics
software do provide diagnostic services as API (.DLL,
LIB libraries etc). There are certain reasons: most of
the testing requires authentic approaches, most of which
use either undocumented OS features to access directly
hardware or introduce some sort of original OS, for which
there is no API.

I'd recommend you to visit diagnostics software producers
sites, to learn more. But I am afraid, there's no solution
in the form you need and it's unlikely that it will ever
appear.

All the best,

M.B.

Author

Commented:
Thanks Master Bo, I'll continue to look around if any other sites provide such APIs.

Author

Commented:
Adjusted points to 80

Commented:
You can get the hardware information out of the Registry by looking at


HKEY_DYN_DATA\Config Manager\Enum

This area contains the status of each detected device in the system, and each subtree is linked to HKLM\Enum + HardwareKey to locate a description.

You can find the processor type at
HKEY_LOCAL_MACHINE\hardware\DESCRIPTION\System\CentralProcessor\0

I can go into more detail if you like.

your best bet is to use the Windows API to collect information about each device.

Author

Commented:
Thanks tstaddon,
please do provide me with more details which I can understand better on how to use Windows API in this context.
Commented:
Unlock this solution with a free trial preview.
(No credit card required)
Get Preview
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a free trial preview!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.