Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. [SOLVED]Window Task Manager

[SOLVED]Window Task Manager

Scheduled Pinned Locked Moved General and Desktop
3 Posts 2 Posters 1.3k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • V Offline
    V Offline
    vpwal
    wrote on last edited by
    #1

    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.

    1 Reply Last reply
    0
    • F Offline
      F Offline
      Francknos
      wrote on last edited by
      #2

      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.

      1 Reply Last reply
      0
      • V Offline
        V Offline
        vpwal
        wrote on last edited by
        #3

        i found on MSDN Thanks.

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved