Microsoft is indeed hitting limits on system requirements ;)
And if you want to use the new Windows skins and still want a lot of speed, 1GB of RAM is best (I found 512MB a bit slow)
I did check out the DBD::WMI module, and it realy is a great module!
Thumbs up for Corion.
I guess I do have to switch over to WMI.
I was also looking at the privilige list. And if I'm correct on the Vista architecture, it may be possible to run devcon if it's included into the group policy. (I didn't check that out so far).
Thus remaining an issue on the devcon tool itself, it is an unsigned software. Which means, if I'm not mistaken, that when UAC is enabled, it will always query the user for interaction :(
That means that I do have to switch over to another application (like WMI).
Update:
My code itself is very straight forward, and it just calls devcon and captures its output. Afterwards I parse this string.
With WMI, I use the Win32_PnPsingendDriver methode.
The challange I had here was gathering all components belonging to a single device, but I figured that one out.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.