Solved

Device Info

Posted on 2001-08-23
8
319 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
Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 
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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Firewall issues 6 85
Simple Delphi Question 9 77
Send message from delphi to whatsapp, is it possible? 3 923
Multiple image collision 13 44
This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

707 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

12 Experts available now in Live!

Get 1:1 Help Now