Dear all,

I have serached for using WMI with Qt.

I found some WMI C++ Application Examples in MSDN website.

I have tried the code form the below link

http://msdn.microsoft.com/en-us/libr...=VS.85%29.aspx

when i copied and run the application as win32 console application it worked well.

the same code i ut into the Qt application ,

When i use QApplication anApplication ( argc, argv ); in my code it is not working

But if i use QCroreApplication anApplication ( argc, argv ); it is working

Any suggestions or help