Hello,

I'm calling winapi function from my Qt application. The problem is that if I use QApplication I got nothing from winapi call, but instead if I use QCoreApplication it returns what I expect.

Do someone have idea about that? I'm running this code under windows 7.

// QApplication app(argc, argv);
QCoreApplication app(argc, argv);

QList<QString> ssidList = WinApiWrapper::getSsidList();
if (!wpsSsidList.isEmpty()) {
qDebug() << "\n" << wpsSsidList.count() << " WPS enabled device found:";
foreach(QString ssid, wpsSsidList){
qDebug() << ssid ;
}
} else {
qDebug() << "no WPS enabled SSID found";
}