• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 340
  • 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
The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

 
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Amazon Web Services - Basic

Are you thinking about creating an Amazon Web Services account for your business? Not sure where to start? In this course you’ll get an overview of the history of AWS and take a tour of their user interface.

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