[SOLVED]Window Task Manager
-
wrote on 29 Sept 2014, 10:19 last edited by
Hii.
I want to create my task manager in windows 7.can Qt provide me all necessary APIs or i have to use native APIs.
Please provide me some assistant.
Thanks in advance. -
wrote on 29 Sept 2014, 10:59 last edited by
Hi I have something to list task.
@QProcess x;
x.start("tasklist");
x.waitForStarted(200);
x.waitForReadyRead(200);
x.waitForFinished(200);
QString result( x.readAllStandardOutput() );
if(result.count("myProg.exe",Qt::CaseInsensitive) >=2 )
{
popupMessage(tr("This application is already running !"),2000,this);
QTimer::singleShot(2000, qApp, SLOT(quit()));
}
@But I can kill task I hope that help you.
-
wrote on 16 Oct 2014, 11:57 last edited by
i found on MSDN Thanks.