if you look into WMISDK (WMI.chm) helpfile, you will see an section that describes how to use with VC6. if you have .NET, WMI.NET is also there for you to download from MS site. i know some of WMI methods don't work as ADVERTISED. Just want to let you know. if you write C++ code for WMI in winxp, i don't see why you have any problem because WMI is integrated in winxp and win 2000. if you want to write for other OSs, you need to download WMI extension .