Solved

Accessing Win32_VideoController

Posted on 2003-11-14
3
653 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying 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

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…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

726 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