www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - WMI in D

I'm really new to D, and not really a Java/C developer, either. I'm attempting
to do a project that needsto pull information from WMI on Windows XP machines
(it needn't run on anything else).

From a blind start, I think I'm going to need to go through the COM example,
and try to assemble a CoCreateInstance call for the wbem com (ie, WMI)
interface.

Has anybody used WMI from D? A small example would make my day, but any
pointers would also be appreciated. Searching for WMI/WBEM have offered no
clues.

I'm not interested in doing it in something else, though - I could knock this
out pretty quick in VB, but then I wouldn't be learning D. =]

aTdHvAaNnKcSe
~Neil
May 21 2007