• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 335
  • Last Modified:

Device Info

Anyone know how i can get a list of the devices installed - like that given in the system/device manager applet of control panel in windows.

I am using Delphi 4 and would prefer either pure code or a component that has source code with it.
0
mi6agent
Asked:
mi6agent
  • 3
  • 3
  • 2
1 Solution
 
TOndrejCommented:
that's very much dependent on the target OS
0
 
mi6agentAuthor Commented:
Thanks Sundayboys but it is a lot larger than what i was looking for - i only want the device list instead of a whole host of other info.

The target OS would be Win9x/NT and 2000 - is there much of a difference really if it is getting it from the registry?

I shall increase the points if anyone gives me the pure code for to do it
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
TOndrejCommented:
It's different on win95, win98, win98SE, winME, NT and 2k.
Some OS's differ only slightly (NT - 2k) from each other, others significantly.
And yes, on each platform it's in the registry, but in different locations, different data formats etc.
I wish you good luck. You're going to need to read a lot in the MSDN, also see the DDKs, search the web, and prepare for some trial and error exercises...
0
 
sundayboysCommented:
use registry is not a good choice,i think.
you can search on www.torry.net.there have a lot of components(FWS),maybe have some components what you want.
0
 
TOndrejCommented:
> use registry is not a good choice
It's the only choice (I'm aware of) on some of the platforms. Of course you can buy a component that knows where to look for and do the work for you...
0
 
mi6agentAuthor Commented:
TOndrei, can you explain more about your point, i'm not clear on the problem of doing what i want so info from you would help.  I guess if it ends up to be harder than i thought i should forget it but i would need to know the background.
0
 
mi6agentAuthor Commented:
can anybody give me help on this?
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 3
  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now