Discussion Board

Results 1 to 8 of 8
  1. #1
    Registered User kompotFX's Avatar
    Join Date
    Jun 2004
    Posts
    177
    Hi

    how to check if exe process runs in Qt code?
    I would like to check for this before I run QProcess::startDetached() in order to avoid multiple background processes running.
    Something similar to TFindProcess stuff?
    ..or how to include symbian code inside Qt?

  2. #2
    Nokia Developer Moderator skumar_rao's Avatar
    Join Date
    Mar 2004
    Location
    Singapore
    Posts
    9,968
    can you let us know the other process you want to check for running state is written by you ?

  3. #3
    Registered User kompotFX's Avatar
    Join Date
    Jun 2004
    Posts
    177
    it shouldn't matter who is written it. But in this case no, it's not me. The one I know for sure it is non gui exe written in symbian c++

  4. #4
    Nokia Developer Moderator skumar_rao's Avatar
    Join Date
    Mar 2004
    Location
    Singapore
    Posts
    9,968
    Quote Originally Posted by kompotFX View Post
    it shouldn't matter who is written it. But in this case no, it's not me. The one I know for sure it is non gui exe written in symbian c++
    AFAIK you can't check if a process is running or not in 2 cases with you have not started the application with attached process and you have created the other process with singleton application in mind

    if you really want this type then you can try TFindProcess .

  5. #5
    Registered User kompotFX's Avatar
    Join Date
    Jun 2004
    Posts
    177
    ok, but how to integrate TFindProcess symbian c++ code into Qt application code?

  6. #6
    Nokia Developer Moderator skumar_rao's Avatar
    Join Date
    Mar 2004
    Location
    Singapore
    Posts
    9,968
    you can use the Symbian.C++ in device builds as normal API call in Qt. donot for to put the Symbian Macro around the Symbian.c++ API and header includes to avoid errors while compiling for other platforms.

  7. #7
    Registered User kompotFX's Avatar
    Join Date
    Jun 2004
    Posts
    177
    thx I will try

  8. #8
    Nokia Developer Moderator ltomuta's Avatar
    Join Date
    Sep 2004
    Location
    Tampere, Finland
    Posts
    11,335
    Quote Originally Posted by kompotFX View Post
    ok, but how to integrate TFindProcess symbian c++ code into Qt application code?
    http://qt.nokia.com/files/pdf/whitep...an-c-together/
    http://wiki.forum.nokia.com/index.ph...2B%2B_Together

Similar Threads

  1. Replies: 7
    Last Post: 2011-01-20, 10:18
  2. Replies: 5
    Last Post: 2010-01-04, 05:54
  3. Check the existence of a string in a string pool (table)
    By moldovan_catalin in forum Symbian C++
    Replies: 4
    Last Post: 2008-11-30, 22:30
  4. PlatSec - Process Isolation check under 9.1
    By SimonJudge in forum Symbian C++
    Replies: 18
    Last Post: 2008-06-06, 09:43
  5. Process termination check
    By prasanta_sadhukhan in forum Symbian C++
    Replies: 3
    Last Post: 2007-03-31, 16:27

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved