Solved

Device Info

Posted on 2001-08-23
8
320 Views
Last Modified: 2010-04-06
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
Comment
Question by:mi6agent
  • 3
  • 3
  • 2
8 Comments
 
LVL 8

Expert Comment

by:TOndrej
ID: 6420983
that's very much dependent on the target OS
0
 
LVL 1

Accepted Solution

by:
sundayboys earned 100 total points
ID: 6421109
0
 

Author Comment

by:mi6agent
ID: 6421416
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
 
LVL 8

Expert Comment

by:TOndrej
ID: 6421433
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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 1

Expert Comment

by:sundayboys
ID: 6421436
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
 
LVL 8

Expert Comment

by:TOndrej
ID: 6421442
> 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
 

Author Comment

by:mi6agent
ID: 6423831
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
 

Author Comment

by:mi6agent
ID: 6426003
can anybody give me help on this?
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now