Solved

Accessing Win32_VideoController

Posted on 2003-11-14
3
647 Views
Last Modified: 2007-12-19
I need to look at the Win32_VideoController (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wmisdk/wmi/win32_videocontroller.asp) in order to get information on the capabilities of the video card.  Specifically I want to find out if this device is Monochrome and what is the current VideoMode.

I've found a few references to working with WMI from Delphi, but nothing dealing with VideoController.

Please provide a code sample.
Thanks for your help :)
Rob
0
Comment
Question by:DarthChucks
3 Comments
 
LVL 17

Accepted Solution

by:
Wim ten Brink earned 170 total points
ID: 9755945
http://users.andara.com/~dblondeau/FTP/SWBEM.zip

Above link is some simple sample code for Delphi. And like you I don't find much specific information about WMI settings in Delphi. However, for WMI itself just go to the MSDN site about WMI:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wmisdk/wmi/wmi_architecture.asp

But I guess you know that link too.
Since WMI provides an enormous amount of information it is quite difficult to find specific examples. Especially since WMI still isn't a very popular technique. But perhaps have a look at:
http://www.experts-exchange.com/Programming/Programming_Languages/Delphi/Q_20740261.html

And if you haven't imported the WMI type library yet then import it or download it from http://workshop-alex.org/sources/WbemScripting_TLB.pas and download http://workshop-alex.org/sources/ShowProcesses.dpr too, which is an example about retrieving process information. It's not the same but still quite close to what you need.
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Correct Component for Shopping Cart. 2 105
QRReport  TQrmemo vertical stretching 1 46
Delphi 2 60
Delphi...Split view - idea? 1 68
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…
Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.

777 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