Solved

Accessing Win32_VideoController

Posted on 2003-11-14
3
651 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Working this component WebCopy with proxy, help 3 92
Simple Delphi Question 9 96
Create a path if not exists 7 89
shape, triangle, dbctrlgrid 3 17
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…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

840 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