Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. How to stop an app in qt

How to stop an app in qt

Scheduled Pinned Locked Moved Mobile and Embedded
1 Posts 1 Posters 1.1k 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.
  • D Offline
    D Offline
    daljit97
    wrote on last edited by
    #1

    hello,
    I'm trying a way to close another app from my application. I've integrated Qt with symbian c++ ( I am a beginner to symbian c++) and I've followed this example here http://www.developer.nokia.com/Community/Wiki/How_to_start_and_stop_exe_using_Symbian_C++
    @void Close::close()
    {
    TFindProcess processFinder(_L("MyApp.exe*"));
    TFullName result;
    RProcess processHandle;
    while ( processFinder.Next(result) == KErrNone)
    {
    User::LeaveIfError(processHandle.Open (processFinder, EOwnerThread));
    processHandle.Kill(KErrNone);
    processHandle.Close();
    }
    }@
    But it doesn't work. Can anyone help?

    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